summaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-24 13:37:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-24 13:37:54 +0100
commiteedb09b596ca0934d3d4a5f8603429182cb669e2 (patch)
tree24e2dd95256b3cd053397b4628096a7762843442 /src/Log.h
parent21939e6f0db279249a29450c44e5ba3ce783f949 (diff)
parent1387a04e605c3c511e2e4fc764eb6434b9837ef8 (diff)
downloaddabmod-eedb09b596ca0934d3d4a5f8603429182cb669e2.tar.gz
dabmod-eedb09b596ca0934d3d4a5f8603429182cb669e2.tar.bz2
dabmod-eedb09b596ca0934d3d4a5f8603429182cb669e2.zip
Merge branch 'next' into restructureEDIvsETI
Diffstat (limited to 'src/Log.h')
-rw-r--r--src/Log.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Log.h b/src/Log.h
index bf1d5e4..ae252a6 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -43,7 +43,7 @@
#include <map>
#include <mutex>
#include <thread>
-#include <boost/lockfree/spsc_queue.hpp>
+#include "ThreadsafeQueue.h"
#define SYSLOG_IDENT "ODR-DabMod"
#define SYSLOG_FACILITY LOG_LOCAL0
@@ -179,9 +179,7 @@ class Logger {
private:
std::list<LogBackend*> backends;
- boost::lockfree::spsc_queue<
- log_message_t,
- boost::lockfree::capacity<80> > m_message_queue;
+ ThreadsafeQueue<log_message_t> m_message_queue;
std::thread m_io_thread;
std::mutex m_cerr_mutex;
};