Go to the documentation of this file.
47 unsigned int Foam::timer::oldTimeOut_ = 0;
52 void Foam::timer::sigHandler(
int)
75 <<
"timer already used."
89 <<
"Installing timeout " << int(
timeOut_) <<
" seconds"
90 <<
" (overriding old timeout " << int(oldTimeOut_) <<
")." <<
endl;
104 <<
"timeOut=" << int(timeOut_)
105 <<
" : resetting timeOut to " << int(oldTimeOut_) <<
endl;
108 ::alarm(oldTimeOut_);
static void resetHandler(const char *what, int sigNum)
Ostream & endl(Ostream &os)
timer(unsigned int seconds)
File-local code for setting/resetting signal handlers.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
static void setHandler(const char *what, int sigNum, void(*handler)(int))
defineTypeNameAndDebug(combustionModel, 0)