21 #ifndef INCLUDE_OLA_THREAD_SIGNALTHREAD_H_
22 #define INCLUDE_OLA_THREAD_SIGNALTHREAD_H_
27 #include <ola/thread/Thread.h>
63 typedef std::map<int, SignalHandler*> SignalMap;
65 SignalMap m_signal_handlers;
67 bool AddSignals(sigset_t *signals);
68 bool BlockSignal(
int signal);
74 #endif // INCLUDE_OLA_THREAD_SIGNALTHREAD_H_
Definition: SignalThread.h:48
bool InstallSignalHandler(int signal, SignalHandler *handler)
Install a signal handler for the given signal.
Definition: SignalThread.cpp:66
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
void * Run()
Entry point into the thread.
Definition: SignalThread.cpp:77