73 (((x).newTimeOut_ > 0) ? setjmp(Foam::timer::envAlarm) : false) 87 static struct sigaction oldAction_;
90 static unsigned int oldTimeOut_;
96 static void signalHandler(
int);
117 timer(
const unsigned int newTimeOut);
timer(const unsigned int newTimeOut)
Construct from components.
unsigned int newTimeOut_
Current time out value. Needed by macro timedOut.
Implements a timeout mechanism via sigalarm.
ClassName("timer")
Declare name of the class and its debug switch.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
static jmp_buf envAlarm
State for setjmp. Needed by macro timedOut.