dont check to see if timer thread is suspended when blocking for it to shut down

This commit is contained in:
Jeff Hill
2004-01-15 04:15:04 +00:00
parent b6b381cc78
commit 24d2d57d62

View File

@@ -53,7 +53,7 @@ timerQueueActive::~timerQueueActive ()
{
this->terminateFlag = true;
this->rescheduleEvent.signal ();
while ( ! this->exitFlag && ! this->thread.isSuspended () ) {
while ( ! this->exitFlag ) {
this->exitEvent.wait ( 1.0 );
}
// in case other threads are waiting here also