Loading...
Searching...
No Matches
sigSegv Class Reference

Signal handler for SEGV interrupt. More...

#include <sigSegv.H>

Public Member Functions

 sigSegv ()
 Default construct.
 ~sigSegv ()
 Destructor.

Static Public Member Functions

static void set (bool verbose=false)
 Activate SIGSEGV signal handler.
static void unset (bool verbose=false)
 Deactivate SIGSEGV signal handler.

Detailed Description

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).

See also
Foam::JobInfo
Source files

Definition at line 54 of file sigSegv.H.

Constructor & Destructor Documentation

◆ sigSegv()

sigSegv ( )

Default construct.

◆ ~sigSegv()

~sigSegv ( )

Destructor.

Member Function Documentation

◆ set()

void set ( bool verbose = false)
static

Activate SIGSEGV signal handler.

Referenced by argList::parse().

Here is the caller graph for this function:

◆ unset()

void unset ( bool verbose = false)
static

Deactivate SIGSEGV signal handler.


The documentation for this class was generated from the following file: