dont take (and keep) the lock in the destructor because on POSIX its not allowed to own a mutex when it is destroyed

This commit is contained in:
Jeff Hill
2002-12-09 23:53:12 +00:00
parent 9286244343
commit d70ba845e5

View File

@@ -30,7 +30,6 @@ timerQueue::timerQueue ( epicsTimerQueueNotify &notifyIn ) :
timerQueue::~timerQueue ()
{
timer *pTmr;
this->mutex.lock ();
while ( ( pTmr = this->timerList.get () ) ) {
pTmr->curState = timer::stateLimbo;
}