Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef CORELIB___NCBI_SIGNAL__HPP
2 #define CORELIB___NCBI_SIGNAL__HPP
72 eSignal_QUIT = (1<<3),
75 eSignal_ABRT = (1<<6),
76 eSignal_SEGV = (1<<7),
77 eSignal_PIPE = (1<<8),
78 eSignal_TERM = (1<<9),
79 eSignal_USR1 = (1<<10),
80 eSignal_USR2 = (1<<11),
82 eSignal_Any = 0xfffffff
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool IsSignaled(TSignalMask signals=eSignal_Any)
Check that any of specified signals is received.
static TSignalMask Reset(void)
Reset the list of handled signal.
static void TrapSignals(TSignalMask signals)
Sets interrupt signal handling.
int TSignalMask
Binary OR of "ESignal".
static bool Raise(ESignal signal)
Sends a signal to the current process.
static TSignalMask ClearSignals(TSignalMask signals=eSignal_Any)
Clear signals state.
static TSignalMask GetSignals(void)
Get signals state.
#define NCBI_XNCBI_EXPORT