fixed conditional
This commit is contained in:
1 parent
7f96b9c0fc
commit
21e8912031
1 file changed
+1
-1
@@ -141,7 +141,7 @@ bool epicsThread::exitWait ( const double delay ) throw ()
|
||||
double exitWaitElapsed = 0.0;
|
||||
epicsGuard < epicsMutex > guard ( this->mutex );
|
||||
this->cancel = true;
|
||||
while ( ! this->terminated && exitWaitElapsed >= delay ) {
|
||||
while ( ! this->terminated && exitWaitElapsed < delay ) {
|
||||
epicsGuardRelease < epicsMutex > unguard ( guard );
|
||||
this->event.signal ();
|
||||
this->exitEvent.wait ( delay - exitWaitElapsed );
|
||||
|
||||
Reference in new issue
Block a user