when finished waiting for a thread to exit, signal the event in case other threads are waiting also
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user