The SKIRT project
advanced radiative transfer for astrophysics
SignalHandler Class Referencefinal

#include <SignalHandler.hpp>

Static Public Member Functions

static void InstallSignalHandlers ()

Detailed Description

The SignalHandler class offers facilities for installing handlers for system errors.

Member Function Documentation

◆ InstallSignalHandlers()

void SignalHandler::InstallSignalHandlers ( )
static

This function installs C signal handlers for the error signals that may occur during execution, including such horrors as segmentation violation and bus error. The handlers throw a FatalError with an appropriate message, which provides a stack trace (assuming that the state of the program is not too messed up for memory allocation and such to work).


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