

Go to the source code of this file.
Classes | |
| class | timer |
| Implements a timeout mechanism via sigalarm. More... | |
Namespaces | |
| Foam | |
| Namespace for OpenFOAM. | |
Macros | |
| #define | timedOut(x) (((x).newTimeOut_ > 0) ? setjmp(Foam::timer::envAlarm) : false) |
| Check it a timeout has occured. More... | |
| #define timedOut | ( | x | ) | (((x).newTimeOut_ > 0) ? setjmp(Foam::timer::envAlarm) : false) |
Check it a timeout has occured.
keep setjmp in same stack frame so no function calls
Definition at line 71 of file timer.H.
Referenced by fileStat::fileStat(), and Foam::ping().
1.8.13