Fix race condition in the state machine & channel.

This commit is contained in:
Alexey Rybalchenko
2016-11-15 13:08:38 +01:00
parent 94a4d599eb
commit 12f04c7237
4 changed files with 6 additions and 3 deletions

View File

@@ -133,6 +133,7 @@ void FairMQStateMachine::WaitForEndOfState(int event)
{
fStateCondition.wait(lock);
}
fStateThread.join();
}
catch (boost::exception& e)
{