Loading...
Searching...
No Matches
sigQuit Class Reference

Signal handler for QUIT interrupt. More...

#include <sigQuit.H>

Public Member Functions

 sigQuit ()
 Default construct.
 ~sigQuit ()
 Destructor.

Static Public Member Functions

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

Detailed Description

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

See also
Foam::JobInfo
Source files

Definition at line 54 of file sigQuit.H.

Constructor & Destructor Documentation

◆ sigQuit()

sigQuit ( )

Default construct.

◆ ~sigQuit()

~sigQuit ( )

Destructor.

Member Function Documentation

◆ set()

void set ( bool verbose = false)
static

Activate SIGQUIT signal handler.

Referenced by argList::parse().

Here is the caller graph for this function:

◆ unset()

void unset ( bool verbose = false)
static

Deactivate SIGQUIT signal handler.


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