Go to the documentation of this file.
40 bool Foam::sigSegv::sigActive_ =
false;
45 void Foam::sigSegv::sigHandler(
int)
static void printStack(Ostream &os)
Helper function to print a stack.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
static void resetHandler(const char *what, int sigNum)
File-local code for setting/resetting signal handlers.
prefixOSstream Perr
An Ostream wrapper for parallel output to std::cerr.
static void setHandler(const char *what, int sigNum, void(*handler)(int))
static void set(bool verbose=false)
Activate SIGSEGV signal handler.
static void unset(bool verbose=false)
Deactivate SIGSEGV signal handler.
void signalEnd() const
Update job info and relocate the file from running to finished.