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:
Jeff Hill
2009-05-11 22:50:06 +00:00
parent 20bd4e9b23
commit 8d245ba595
5 changed files with 67 additions and 12 deletions

View File

@@ -173,7 +173,12 @@ extern "C" void epicsShareAPI
extern "C" double epicsShareAPI
epicsTimerQueuePassiveProcess ( epicsTimerQueuePassiveId pQueue )
{
return pQueue->process ( epicsTime::getCurrent() );
try {
return pQueue->process ( epicsTime::getCurrent() );
}
catch ( ... ) {
return 1.0;
}
}
extern "C" epicsTimerId epicsShareAPI epicsTimerQueuePassiveCreateTimer (