mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Fix regression in shmmonitor
This commit is contained in:
parent
2b3e38d9a4
commit
93dff3c5a7
|
@ -136,8 +136,13 @@ void Monitor::Run()
|
||||||
|
|
||||||
if (fInteractive) {
|
if (fInteractive) {
|
||||||
Interactive();
|
Interactive();
|
||||||
} else {
|
} else if (fViewOnly) {
|
||||||
CheckSegment();
|
CheckSegment();
|
||||||
|
} else {
|
||||||
|
while (!fTerminating) {
|
||||||
|
this_thread::sleep_for(chrono::milliseconds(fIntervalInMS));
|
||||||
|
CheckSegment();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fViewOnly) {
|
if (!fViewOnly) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user