FIX: missing demod displays due to wrong input/queue setups order

This commit is contained in:
vsonnier
2017-01-08 12:46:31 +01:00
parent 4919988c7c
commit 1a53e454ab
4 changed files with 45 additions and 15 deletions
+5 -1
View File
@@ -221,7 +221,10 @@ public:
protected:
std::map<std::string, ThreadQueueBase *, map_string_less> input_queues;
std::map<std::string, ThreadQueueBase *, map_string_less> output_queues;
//this protects against concurrent changes in input/output bindings: get/set/Input/OutPutQueue
mutable std::mutex m_queue_bindings_mutex;
//true when a termination is ordered
std::atomic_bool stopping;
Timer gTimer;
@@ -230,4 +233,5 @@ private:
//true when the thread has really ended, i.e run() from threadMain() has returned.
std::atomic_bool terminated;
};