optimized time fetch during flush

This commit is contained in:
Jeff Hill
2003-04-07 16:06:17 +00:00
parent 9519c2646a
commit 12efe1ec2b
8 changed files with 24 additions and 20 deletions

View File

@@ -58,9 +58,9 @@ epicsTimerNotify::expireStatus tcpSendWatchdog::expire (
return noRestart;
}
void tcpSendWatchdog::start ()
void tcpSendWatchdog::start ( const epicsTime & currentTime )
{
this->timer.start ( *this, this->period );
this->timer.start ( *this, currentTime + this->period );
}
void tcpSendWatchdog::cancel ()