fixed mantis 332

This commit is contained in:
Jeff Hill
2009-02-10 22:24:20 +00:00
parent 6e913fe0bb
commit 62618480fd
4 changed files with 38 additions and 27 deletions
+5 -3
View File
@@ -38,11 +38,13 @@ epicsTimerQueueActive & epicsTimerQueueActive::allocate ( bool okToShare, unsign
{
epicsSingleton < timerQueueActiveMgr >::reference pMgr =
timerQueueMgrEPICS.getReference ();
return pMgr->allocate ( okToShare, threadPriority );
return pMgr->allocate ( pMgr, okToShare, threadPriority );
}
timerQueueActive::timerQueueActive ( bool okToShareIn, unsigned priority ) :
queue ( *this ), thread ( *this, "timerQueue",
timerQueueActive ::
timerQueueActive ( RefMgr & refMgr,
bool okToShareIn, unsigned priority ) :
_refMgr ( refMgr ), queue ( *this ), thread ( *this, "timerQueue",
epicsThreadGetStackSize ( epicsThreadStackMedium ), priority ),
sleepQuantum ( epicsThreadSleepQuantum() ), okToShare ( okToShareIn ),
exitFlag ( false ), terminateFlag ( false )