35#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) || defined (__NetBSD__)
36# define ASSAIOSIG SIGIO
38# define ASSAIOSIG SIGPOLL
A collection of assert function wrappers.
An abstract interface for handling I/O events, timers, and such.
#define DL(X)
A macro for writing debug message to the Logger.
#define trace_with_mask(s, m)
trace_with_mask() is used to trace function call chain in C++ program.
A wrapper class to provide AutoPtr with reference semantics.
Class SIGALRMHandler handles SIGALRM signal.
SIGALRMHandler()
Constructor.
sig_atomic_t alarmed()
Has alarm gone off?
sig_atomic_t m_alarm_flag
Indicator whether alarm gone off yet.
void resetState()
Reset internal state.
int handle_signal(int signum_)
Receive ALRM signal.
Class SIGCHLDHandler handles SIGCHLD signal.
void resetState()
Reset child's exit state.
int handle_signal(int signum_)
Receive CHLD signal.
sig_atomic_t m_child_exit_flag
Child exit's state.
sig_atomic_t child_exited()
Did child exit?
SIGCHLDHandler()
Constructor.
SIGINTHandler handles SIGINT signal.
int handle_signal(int signum_)
Receive SIGINT signal.
sig_atomic_t m_graceful_quit
flag that indicates whether signal was caught.
SIGINTHandler()
constructor
sig_atomic_t graceful_quit()
Indicates whether graceful quit signal has been raised by the signal handler.
void resetState()
Reset state of the object to initial.
Class SIGPOLLHandler handles SIGPOLL signal.
SIGPOLLHandler()
Constructor.
int handle_signal(int signum_)
Catch and absorb SIGPOLL signal.
void resetState()
Set received signals count back to 0.
sig_atomic_t m_count
Received signals count.
int handle_signal(int signum_)
Catch USR1 signal and increment count.
sig_atomic_t received_count() const
Report count of received signals.
SIGUSR1Handler()
Constructor.
Class SIGUSR2Handler handles SIGUSR2 signal.
sig_atomic_t received_count() const
Report count of received signals.
int handle_signal(int signum_)
Catch USR2 signal and increment count.
SIGUSR2Handler()
Constructor.
sig_atomic_t m_count
Received signals count.
void resetState()
Set received signals count back to 0.
@ SIGHAND
Class SigHandler(s) messages
@ TRACE
Function call trace