40 bool Foam::sigQuit::sigActive_ =
false;
45 void Foam::sigQuit::sigHandler(
int)
prefixOSstream Perr
OSstream wrapped stderr (std::cerr) with parallel prefix.
static void setHandler(const char *what, int sigNum, void(*handler)(int))
static void shutdown()
Simple shutdown (finalize) of JobInfo.
static void resetHandler(const char *what, int sigNum)
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
void unset(List< bool > &bools, const labelUList &locations)
Unset the listed locations (assign 'false').
File-local code for setting/resetting signal handlers.
static void set(bool verbose=false)
Activate SIGQUIT signal handler.
sigQuit()
Default construct.
static void printStack(Ostream &os, int size=-1)
Helper function to print a stack, with optional upper limit.
static void unset(bool verbose=false)
Deactivate SIGQUIT signal handler.