Go to the documentation of this file.
41 bool Foam::sigInt::sigActive_ =
false;
46 void Foam::sigInt::sigHandler(
int)
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
static void resetHandler(const char *what, int sigNum)
void unset(List< bool > &bools, const labelRange &range)
Unset the specified range 'on' in a boolList.
File-local code for setting/resetting signal handlers.
static void setHandler(const char *what, int sigNum, void(*handler)(int))
static void unset(bool verbose=false)
Deactivate SIGINT signal handler.
void signalEnd() const
Update job info and relocate the file from running to finished.
static void set(bool verbose=false)
Activate SIGINT signal handler.