now compatible with new epicsSingleton interface

This commit is contained in:
Jeff Hill
2002-10-23 22:30:19 +00:00
parent d468c989d7
commit 0b66cd3811

View File

@@ -29,13 +29,15 @@ template class epicsSingleton < timerQueueActiveMgr >;
# pragma warning ( pop )
#endif
epicsSingleton < timerQueueActiveMgr > pTimerQueueMgrEPICS;
epicsSingleton < timerQueueActiveMgr > timerQueueMgrEPICS;
epicsTimerQueueActive::~epicsTimerQueueActive () {}
epicsTimerQueueActive &epicsTimerQueueActive::allocate ( bool okToShare, unsigned threadPriority )
epicsTimerQueueActive & epicsTimerQueueActive::allocate ( bool okToShare, unsigned threadPriority )
{
return pTimerQueueMgrEPICS->allocate ( okToShare, threadPriority );
epicsSingleton < timerQueueActiveMgr >::reference pMgr =
timerQueueMgrEPICS;
return pMgr->allocate ( okToShare, threadPriority );
}
timerQueueActive::timerQueueActive ( bool okToShareIn, unsigned priority ) :