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