exp passed to assert must not change the state of the data structures

This commit is contained in:
Jeff Hill
2009-08-24 17:08:41 +00:00
parent fa24d119dd
commit d84e9cb3ec

View File

@@ -128,7 +128,8 @@ void epicsThread::exit ()
void epicsThread::exitWait () throw ()
{
assert ( this->exitWait ( DBL_MAX ) );
bool success = this->exitWait ( DBL_MAX );
assert ( success );
}
bool epicsThread::exitWait ( const double delay ) throw ()