mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
shmmonitor: optimize startup to avoid repeated start
This commit is contained in:
@@ -101,6 +101,7 @@ class Manager
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (autolaunchMonitor) {
|
if (autolaunchMonitor) {
|
||||||
|
boost::interprocess::scoped_lock<boost::interprocess::named_mutex> lock(fShmMtx);
|
||||||
StartMonitor(fShmId);
|
StartMonitor(fShmId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user