added sleep quantum correction using epicsThreadSleepQuantum()
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->exp = expire - this->queue.sleepQuantumOverTwo;
|
||||
|
||||
bool reschedualNeeded = false;
|
||||
if ( this->curState == stateActive ) {
|
||||
|
||||
Reference in New Issue
Block a user