finished queue sharing

This commit is contained in:
Jeff Hill
2001-02-15 22:01:39 +00:00
parent 8c0b42356f
commit a0c392423e
3 changed files with 45 additions and 21 deletions

View File

@@ -42,10 +42,10 @@ epicsTimerQueueThreaded &epicsTimerQueueThreaded::create ( bool okToShare, int t
tsFreeList < class timerQueueThreaded, 0x8 > timerQueueThreaded::freeList;
timerQueueThreaded::timerQueueThreaded ( unsigned priority ) :
thread ( *this, "epicsTimerQueue",
timerQueueThreaded::timerQueueThreaded ( bool okToShareIn, unsigned priority ) :
queue ( *this ), thread ( *this, "epicsTimerQueue",
epicsThreadGetStackSize ( epicsThreadStackMedium ), priority ),
queue ( *this ), exitFlag ( false ), terminateFlag ( false )
okToShare (okToShareIn), exitFlag ( false ), terminateFlag ( false )
{
this->thread.start ();
}
@@ -61,11 +61,6 @@ timerQueueThreaded::~timerQueueThreaded ()
this->exitEvent.signal ();
}
int timerQueueThreaded::threadPriority () const
{
return thread.getPriority ();
}
void timerQueueThreaded::release ()
{
queueMgr.release ( *this );