Go to the documentation of this file.00001
00020 #include <coil/config_coil.h>
00021 #include <coil/Signal.h>
00022 #include <signal.h>
00023
00024 namespace coil
00025 {
00033 SignalAction::SignalAction()
00034 : m_handle(0), m_signum(0), m_mask(0), m_flags(0)
00035 {
00036 }
00037
00053 SignalAction::SignalAction(SignalHandler handle, int signum,
00054 sigset_t *mask, int flags)
00055 : m_handle(handle), m_signum(signum), m_mask(mask), m_flags(flags)
00056 {
00057 ::signal(m_signum, m_handle);
00058 }
00059
00067 SignalAction::~SignalAction()
00068 {
00069 }
00070
00071 };