Minor fix

This commit is contained in:
scrawl 2015-06-14 21:04:59 +02:00
parent 98571148b0
commit b204396b57

View file

@ -17,8 +17,10 @@ void WorkTicket::waitTillDone()
void WorkTicket::signalDone()
{
{
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(mMutex);
mDone.exchange(1);
}
mCondition.broadcast();
}