CleanupWhitespace
removed spaces at end of line replaced tabs with spaces
This commit is contained in:
@@ -35,17 +35,17 @@ epicsTimerQueueActive::~epicsTimerQueueActive () {}
|
||||
|
||||
epicsTimerQueueActive & epicsTimerQueueActive::allocate ( bool okToShare, unsigned threadPriority )
|
||||
{
|
||||
epicsSingleton < timerQueueActiveMgr >::reference pMgr =
|
||||
epicsSingleton < timerQueueActiveMgr >::reference pMgr =
|
||||
timerQueueMgrEPICS.getReference ();
|
||||
return pMgr->allocate ( pMgr, okToShare, threadPriority );
|
||||
}
|
||||
|
||||
timerQueueActive ::
|
||||
timerQueueActive ( RefMgr & refMgr,
|
||||
timerQueueActive ( RefMgr & refMgr,
|
||||
bool okToShareIn, unsigned priority ) :
|
||||
_refMgr ( refMgr ), queue ( *this ), thread ( *this, "timerQueue",
|
||||
_refMgr ( refMgr ), queue ( *this ), thread ( *this, "timerQueue",
|
||||
epicsThreadGetStackSize ( epicsThreadStackMedium ), priority ),
|
||||
sleepQuantum ( epicsThreadSleepQuantum() ), okToShare ( okToShareIn ),
|
||||
sleepQuantum ( epicsThreadSleepQuantum() ), okToShare ( okToShareIn ),
|
||||
exitFlag ( 0 ), terminateFlag ( false )
|
||||
{
|
||||
}
|
||||
@@ -66,10 +66,10 @@ timerQueueActive::~timerQueueActive ()
|
||||
this->exitEvent.signal ();
|
||||
}
|
||||
|
||||
void timerQueueActive :: _printLastChanceExceptionMessage (
|
||||
void timerQueueActive :: _printLastChanceExceptionMessage (
|
||||
const char * pExceptionTypeName,
|
||||
const char * pExceptionContext )
|
||||
{
|
||||
{
|
||||
char date[64];
|
||||
try {
|
||||
epicsTime cur = epicsTime :: getCurrent ();
|
||||
@@ -78,7 +78,7 @@ void timerQueueActive :: _printLastChanceExceptionMessage (
|
||||
catch ( ... ) {
|
||||
strcpy ( date, "<UKN DATE>" );
|
||||
}
|
||||
errlogPrintf (
|
||||
errlogPrintf (
|
||||
"timerQueueActive: Unexpected C++ exception \"%s\" with type \"%s\" "
|
||||
"while processing timer queue, at %s\n",
|
||||
pExceptionContext, pExceptionTypeName, date );
|
||||
@@ -131,10 +131,10 @@ double timerQueueActive::quantum ()
|
||||
|
||||
void timerQueueActive::show ( unsigned int level ) const
|
||||
{
|
||||
printf ( "EPICS threaded timer queue at %p\n",
|
||||
printf ( "EPICS threaded timer queue at %p\n",
|
||||
static_cast <const void *> ( this ) );
|
||||
if ( level > 0u ) {
|
||||
// specifying level one here avoids recursive
|
||||
// specifying level one here avoids recursive
|
||||
// show callback
|
||||
this->thread.show ( 1u );
|
||||
this->queue.show ( level - 1u );
|
||||
@@ -148,7 +148,7 @@ void timerQueueActive::show ( unsigned int level ) const
|
||||
}
|
||||
}
|
||||
|
||||
epicsTimerQueue & timerQueueActive::getEpicsTimerQueue ()
|
||||
epicsTimerQueue & timerQueueActive::getEpicsTimerQueue ()
|
||||
{
|
||||
return static_cast < epicsTimerQueue &> ( * this );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user