Commit 9eb8bb0e authored by Pavel Vainerman's avatar Pavel Vainerman
parent 50d1ac0b
...@@ -388,6 +388,8 @@ class IOController: ...@@ -388,6 +388,8 @@ class IOController:
DependsSlot dslot; /*!< undefined depends slot */ DependsSlot dslot; /*!< undefined depends slot */
DependsSlot bslot; /*!< block depends slot */ DependsSlot bslot; /*!< block depends slot */
int checkLockValuePause; int checkLockValuePause;
UniSetTypes::uniset_mutex loggingMutex; /*!< logging info mutex */
}; };
#endif #endif
...@@ -763,9 +763,12 @@ void IOController::logging( UniSetTypes::SensorMessage& sm ) ...@@ -763,9 +763,12 @@ void IOController::logging( UniSetTypes::SensorMessage& sm )
sm.consumer = dbID; sm.consumer = dbID;
TransportMessage tm(sm.transport_msg()); TransportMessage tm(sm.transport_msg());
{
uniset_mutex_lock l(loggingMutex,300);
ui.send(sm.consumer, tm); ui.send(sm.consumer, tm);
isPingDBServer = true; isPingDBServer = true;
} }
}
catch(...) catch(...)
{ {
if(isPingDBServer) if(isPingDBServer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment