diff --git a/src/libCom/fdmgr/fdManager.h b/src/libCom/fdmgr/fdManager.h index 60084d219..8f4027006 100644 --- a/src/libCom/fdmgr/fdManager.h +++ b/src/libCom/fdmgr/fdManager.h @@ -197,6 +197,13 @@ inline resTableIndex fdRegId::hash (unsigned) const return hashid; } +inline void fdManager::lazyInitTimerQueue () +{ + if ( ! this->pTimerQueue ) { + this->pTimerQueue = & epicsTimerQueuePassive::create ( *this ); + } +} + inline epicsTimerQueue & fdManager::timerQueueRef () { this->lazyInitTimerQueue ();