mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Compare commits
1 Commits
v1.6.0
...
v1.2.7-pat
Author | SHA1 | Date | |
---|---|---|---|
|
e642262468 |
@@ -227,7 +227,7 @@ auto Control::WaitForNextState() -> DeviceState
|
||||
unique_lock<mutex> lock{fEventsMutex};
|
||||
while (fEvents.empty())
|
||||
{
|
||||
fNewEvent.wait(lock);
|
||||
fNewEvent.wait_for(lock, chrono::milliseconds(50));
|
||||
}
|
||||
|
||||
auto result = fEvents.front();
|
||||
|
Reference in New Issue
Block a user