DDS plugin: Synchronize FillChannelContainers and DDSKeyValue updates

This was a regression after introducing external control mode in f7cdf5e.
This commit is contained in:
Dennis Klein
2019-07-28 14:31:00 +02:00
committed by Dennis Klein
parent 7b773cde51
commit 9cbccface7
2 changed files with 35 additions and 15 deletions

View File

@@ -163,6 +163,10 @@ class DDS : public Plugin
std::thread fHeartbeatThread;
std::chrono::milliseconds fHeartbeatInterval;
bool fUpdatesAllowed;
std::mutex fUpdateMutex;
std::condition_variable fUpdateCondition;
};
Plugin::ProgOptions DDSProgramOptions()