Signal handler for INT interrupt. More...
Public Member Functions | |
sigInt () | |
Construct null. More... | |
~sigInt () | |
Destructor. More... | |
sigInt () | |
Construct null. More... | |
~sigInt () | |
Destructor. More... | |
Static Public Member Functions | |
static void | set (bool verbose=false) |
Activate SIGINT signal handler. More... | |
static void | unset (bool verbose=false) |
Deactivate SIGINT signal handler. More... | |
static void | set (bool verbose=false) |
Activate SIGINT signal handler. More... | |
static void | unset (bool verbose=false) |
Deactivate SIGINT signal handler. More... | |
Signal handler for INT interrupt.
The standard interrupt handler is overridden to ensure that the runningJob file is removed.
Can be used either directly through the static member functions or through the scope of the object (constructor sets trapping; destructor restores original).
The standard interrupt handler is overridden to ensure that the runningJob file is removed.
Can be used either directly through the static member functions or through the scope of the object (constructor sets trapping; destructor restores original).
sigInt | ( | ) |
Construct null.
~sigInt | ( | ) |
Destructor.
|
static |
Activate SIGINT signal handler.
Definition at line 73 of file sigInt.C.
References Foam::setHandler().
Referenced by argList::parse().
|
static |
Deactivate SIGINT signal handler.
Definition at line 85 of file sigInt.C.
References Foam::resetHandler().
|
static |
Activate SIGINT signal handler.
|
static |
Deactivate SIGINT signal handler.