summaryrefslogtreecommitdiffstats
path: root/src/InputZeroMQReader.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 14:24:56 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 14:24:56 +0200
commit5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2 (patch)
tree617d2af1c25f71fb3511639430a20848c9d8dace /src/InputZeroMQReader.cpp
parente48df9cb5ec9e48cd836ec227127f42c5cc99aa1 (diff)
downloaddabmod-5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2.tar.gz
dabmod-5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2.tar.bz2
dabmod-5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2.zip
Set custom names to threads
Diffstat (limited to 'src/InputZeroMQReader.cpp')
-rw-r--r--src/InputZeroMQReader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/InputZeroMQReader.cpp b/src/InputZeroMQReader.cpp
index 96e3223..763c77c 100644
--- a/src/InputZeroMQReader.cpp
+++ b/src/InputZeroMQReader.cpp
@@ -40,6 +40,7 @@
#include "porting.h"
#include "InputReader.h"
#include "PcDebug.h"
+#include "Utils.h"
#define NUM_FRAMES_PER_ZMQ_MESSAGE 4
/* A concatenation of four ETI frames,
@@ -124,6 +125,7 @@ void InputZeroMQReader::PrintInfo()
void InputZeroMQWorker::RecvProcess(struct InputZeroMQThreadData* workerdata)
{
+ set_thread_name("zmqinput");
size_t queue_size = 0;
bool buffer_full = false;