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.
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
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)
void unset(List< bool > &bools, const labelRange &range)
Unset the specified range 'on' in a boolList.
File-local code for setting/resetting signal handlers.
static void shutdown()
Simple shutdown (finalize) of JobInfo.
prefixOSstream Perr
OSstream wrapped stderr (std::cerr) with parallel prefix.
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.