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:
@@ -30,7 +30,6 @@ timerQueue::timerQueue ( epicsTimerQueueNotify ¬ifyIn ) :
|
||||
timerQueue::~timerQueue ()
|
||||
{
|
||||
timer *pTmr;
|
||||
this->mutex.lock ();
|
||||
while ( ( pTmr = this->timerList.get () ) ) {
|
||||
pTmr->curState = timer::stateLimbo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user