Minor fix

c++11
scrawl 10 years ago
parent 98571148b0
commit b204396b57

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

Loading…
Cancel
Save