summaryrefslogtreecommitdiffstats
path: root/src/can-signals.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-02 23:23:32 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-02 23:23:32 +0100
commit87e9e640972e2833490b56c0a87897c7529b0f87 (patch)
tree3413cbba13f46ef1ad73a8efd3c2de2fc57d6511 /src/can-signals.cpp
parent0961202bff0758ffdccf7bcd0dc9b721e20b2edb (diff)
Fix: unsynchronization between queues.
Ressources not enough protected with mutex, I extend the scope of the lock to make sure that event flow go through synchronously. Change-Id: I77a80ab69eb768a211c537e0f33580379832a465 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-signals.cpp')
-rw-r--r--src/can-signals.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/can-signals.cpp b/src/can-signals.cpp
index 10935ab0..d761e1e4 100644
--- a/src/can-signals.cpp
+++ b/src/can-signals.cpp
@@ -64,7 +64,6 @@ std::mutex& get_subscribed_signals_mutex()
std::map<std::string, struct afb_event>& get_subscribed_signals()
{
- DEBUG(binder_interface, "Here are the first subscribed_signals: %s", subscribed_signals.begin()->first.c_str() );
return subscribed_signals;
}