dont use free list for passive timer queue because of entaglements

between the file scope free list destructor and any file scope
file descriptor manager destructor's attempts to destroy a
passive timer queue
This commit is contained in:
Jeff Hill
2001-06-12 17:16:52 +00:00
parent 08208e995d
commit 87f9c12a77
2 changed files with 8 additions and 19 deletions

View File

@@ -28,12 +28,17 @@
*
*/
//
// Note, a free list for this class is not currently used because of
// entanglements between the file scope free list destructor and a
// file scope fdManager destructor which is trying to call a
// destructor for a passive timer queue which is no longer valid
// in pool.
//
#define epicsExportSharedSymbols
#include "timerPrivate.h"
tsFreeList < class timerQueuePassive, 0x8 > timerQueuePassive::freeList;
epicsMutex timerQueuePassive::freeListMutex;
epicsTimerQueuePassive::~epicsTimerQueuePassive () {}
epicsTimerQueuePassive &epicsTimerQueuePassive::create ( epicsTimerQueueNotify &notify )