added try/catch blocks so that we hopefully can bridge
periods where the new general time provides (unexpectedly considering its advertised benfits) no time at all.
This commit is contained in:
@@ -197,7 +197,12 @@ void timer::show ( unsigned int level ) const
|
||||
}
|
||||
double delay;
|
||||
if ( this->curState == statePending || this->curState == stateActive ) {
|
||||
delay = this->exp - epicsTime::getCurrent();
|
||||
try {
|
||||
delay = this->exp - epicsTime::getCurrent();
|
||||
}
|
||||
catch ( ... ) {
|
||||
delay = - DBL_MAX;
|
||||
}
|
||||
}
|
||||
else {
|
||||
delay = -DBL_MAX;
|
||||
|
||||
Reference in New Issue
Block a user