virtual void
StartTimeoutTimer ()
Concurrency | rsSequentialConcurrency | Visibility | rsProtected |
Code
// if we have a maximum time specified, then start a timer to enforce it
if (nMaxTime > 0)
{
const int zero = 0;
timeoutTid = RQART_Timer.informIn(RTTimespec(nMaxTime, 0), (const void *)&zero,
&RTType_int);
if (!timeoutTid.isValid())
{
RQART_Log.log("Timeout timer could not be started.");
RQARTExceptionCode exCode = eRQARTTimerCreateError;
RQART_Exception.error(RTTypedValue(&exCode)).raise();
return;
}
}