when finished waiting for a thread to exit, signal the event in case other threads are waiting also

This commit is contained in:
Jeff Hill
2011-01-14 18:01:53 -07:00
parent 253036c36c
commit 5a11866431

View File

@@ -169,6 +169,8 @@ bool epicsThread::exitWait ( const double delay ) throw ()
"epicsThread::exitWait()\n" );
epicsThreadSleep ( epicsMin ( delay, 5.0 ) );
}
// the event mechanism is used for other purposes
this->event.signal ();
return this->terminated;
}