Signal handler for INT interrupt. More...
Public Member Functions | |
sigInt () | |
Construct null. More... | |
~sigInt () | |
Destructor. More... | |
void | set (const bool verbose) |
Activate SIGINT signal handler. More... | |
Signal handler for INT interrupt.
The standard interrupt handler is overridden to ensure that the runningJob file is removed.
~sigInt | ( | ) |
Destructor.
Definition at line 66 of file sigInt.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
void set | ( | const bool | verbose | ) |
Activate SIGINT signal handler.
Definition at line 80 of file sigInt.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.