Public Member Functions | Static Public Member Functions | List of all members
sigSegv Class Reference

Signal handler for SEGV interrupt. More...

Public Member Functions

 sigSegv ()
 
 ~sigSegv ()
 

Static Public Member Functions

static void set (bool verbose=false)
 
static void unset (bool verbose=false)
 

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

Definition at line 50 of file sigSegv.C.

References Foam::BitOps::set().

Here is the call graph for this function:

◆ ~sigSegv()

~sigSegv ( )

Definition at line 58 of file sigSegv.C.

References Foam::BitOps::unset().

Here is the call graph for this function:

Member Function Documentation

◆ set()

void set ( bool  verbose = false)
static

Definition at line 66 of file sigSegv.C.

References Foam::setHandler().

Referenced by argList::parse().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unset()

void unset ( bool  verbose = false)
static

Definition at line 78 of file sigSegv.C.

References Foam::resetHandler().

Here is the call graph for this function:

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