Fix spelling in comments
Should be non-functional, except for some error message strings.
This commit is contained in:
@@ -152,7 +152,7 @@ void timer::cancel ()
|
||||
this->curState = timer::stateLimbo;
|
||||
if ( this->queue.processThread != epicsThreadGetIdSelf() ) {
|
||||
// make certain timer expire() does not run after cancel () returns,
|
||||
// but dont require that lock is applied while calling expire()
|
||||
// but don't require that lock is applied while calling expire()
|
||||
while ( this->queue.cancelPending &&
|
||||
this->queue.pExpireTmr == this ) {
|
||||
epicsGuardRelease < epicsMutex > autoRelease ( locker );
|
||||
@@ -174,7 +174,7 @@ void timer::cancel ()
|
||||
epicsTimer::expireInfo timer::getExpireInfo () const
|
||||
{
|
||||
// taking a lock here guarantees that users will not
|
||||
// see brief intervals when a timer isnt active because
|
||||
// see brief intervals when a timer isn't active because
|
||||
// it is is canceled when start is called
|
||||
epicsGuard < epicsMutex > locker ( this->queue.mutex );
|
||||
if ( this->curState == statePending || this->curState == stateActive ) {
|
||||
|
||||
@@ -48,7 +48,7 @@ protected:
|
||||
timerQueue & queue;
|
||||
private:
|
||||
enum state { statePending = 45, stateActive = 56, stateLimbo = 78 };
|
||||
epicsTime exp; // experation time
|
||||
epicsTime exp; // expiration time
|
||||
state curState; // current state
|
||||
epicsTimerNotify * pNotify; // callback
|
||||
void privateStart ( epicsTimerNotify & notify, const epicsTime & );
|
||||
|
||||
@@ -62,7 +62,7 @@ void timerQueue ::
|
||||
strcpy ( date, "UKN DATE" );
|
||||
}
|
||||
if ( delay >= exceptMsgMinPeriod ) {
|
||||
// we dont touch the typeid for the timer expiration
|
||||
// we don't touch the typeid for the timer expiration
|
||||
// notify interface here because they might have
|
||||
// destroyed the timer during its callback
|
||||
errlogPrintf (
|
||||
@@ -97,7 +97,7 @@ double timerQueue::process ( const epicsTime & currentTime )
|
||||
}
|
||||
|
||||
//
|
||||
// Tag current epired tmr so that we can detect if call back
|
||||
// Tag current expired tmr so that we can detect if call back
|
||||
// is in progress when canceling the timer.
|
||||
//
|
||||
if ( this->timerList.first () ) {
|
||||
@@ -155,7 +155,7 @@ double timerQueue::process ( const epicsTime & currentTime )
|
||||
// 1) if another thread is canceling then cancel() waits for
|
||||
// the event below
|
||||
// 2) if this thread is canceling in the timer callback then
|
||||
// dont touch timer or notify here because the cancel might
|
||||
// don't touch timer or notify here because the cancel might
|
||||
// have occurred because they destroyed the timer in the
|
||||
// callback
|
||||
this->cancelPending = false;
|
||||
|
||||
Reference in New Issue
Block a user