move sleep quantum cache to proper place in active timer queue
This commit is contained in:
@@ -66,7 +66,7 @@ void timer::start ( epicsTimerNotify & notify, const epicsTime & expire )
|
||||
void timer::privateStart ( epicsTimerNotify & notify, const epicsTime & expire )
|
||||
{
|
||||
this->pNotify = & notify;
|
||||
this->exp = expire - this->queue.sleepQuantumOverTwo;
|
||||
this->exp = expire - ( this->queue.notify.quantum () / 2.0 );
|
||||
|
||||
bool reschedualNeeded = false;
|
||||
if ( this->curState == stateActive ) {
|
||||
|
||||
Reference in New Issue
Block a user