Signal handler for QUIT interrupt. More...
Public Member Functions | |
sigQuit () | |
Construct null. More... | |
~sigQuit () | |
Destructor. More... | |
sigQuit () | |
Construct null. More... | |
~sigQuit () | |
Destructor. More... | |
Static Public Member Functions | |
static void | set (bool verbose=false) |
Activate SIGQUIT signal handler. More... | |
static void | unset (bool verbose=false) |
Deactivate SIGQUIT signal handler. More... | |
static void | set (bool verbose=false) |
Activate SIGQUIT signal handler. More... | |
static void | unset (bool verbose=false) |
Deactivate SIGQUIT signal handler. More... | |
Signal handler for QUIT 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).
sigQuit | ( | ) |
Construct null.
~sigQuit | ( | ) |
Destructor.
|
static |
Activate SIGQUIT signal handler.
Definition at line 76 of file sigQuit.C.
References Foam::setHandler().
Referenced by argList::parse().
|
static |
Deactivate SIGQUIT signal handler.
Definition at line 88 of file sigQuit.C.
References Foam::resetHandler().
|
static |
Activate SIGQUIT signal handler.
|
static |
Deactivate SIGQUIT signal handler.