timerQueueActive.patch from lp:1479316

This commit is contained in:
Ambroz Bizjak
2015-08-18 14:39:27 -04:00
committed by Michael Davidsaver
parent b6aea68304
commit 6862ef6580
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -70,6 +70,7 @@ epicsTimerQueueActiveForC ::
bool okToShare, unsigned priority ) :
timerQueueActive ( refMgr, okToShare, priority )
{
timerQueueActive::start();
}
epicsTimerQueueActiveForC::~epicsTimerQueueActiveForC ()
+1
View File
@@ -134,6 +134,7 @@ class timerQueueActive : public epicsTimerQueueActive,
public:
typedef epicsSingleton < timerQueueActiveMgr > :: reference RefMgr;
timerQueueActive ( RefMgr &, bool okToShare, unsigned priority );
void start ();
epicsTimer & createTimer ();
epicsTimerForC & createTimerForC ( epicsTimerCallback pCallback, void *pArg );
void show ( unsigned int level ) const;
+4
View File
@@ -49,6 +49,10 @@ timerQueueActive ::
epicsThreadGetStackSize ( epicsThreadStackMedium ), priority ),
sleepQuantum ( epicsThreadSleepQuantum() ), okToShare ( okToShareIn ),
exitFlag ( false ), terminateFlag ( false )
{
}
void timerQueueActive::start ()
{
this->thread.start ();
}