Avoid early expiration of timers on !RTOS
This commit is contained in:
@@ -65,7 +65,11 @@ void timer::start ( epicsTimerNotify & notify, const epicsTime & expire )
|
||||
void timer::privateStart ( epicsTimerNotify & notify, const epicsTime & expire )
|
||||
{
|
||||
this->pNotify = & notify;
|
||||
this->exp = expire - ( this->queue.notify.quantum () / 2.0 );
|
||||
this->exp = expire
|
||||
#ifdef TIMER_QUANTUM_BIAS
|
||||
- ( this->queue.notify.quantum () / 2.0 )
|
||||
#endif
|
||||
;
|
||||
|
||||
bool reschedualNeeded = false;
|
||||
if ( this->curState == stateActive ) {
|
||||
|
||||
Reference in New Issue
Block a user