24#ifndef LIBTHREADAR_THREAD_SIGNAL_HPP
25#define LIBTHREADAR_THREAD_SIGNAL_HPP
121 static bool initialized;
122 static int awaking_signal;
124 static void set_signal_handler();
125 static void handler(
int sig);
Wrapper around the Posix pthread_mutex_t C objects.
static void change_default_signal(int sig)
change the signal used to awake threads
thread_signal()
constructor
virtual void set_signal_mask(const sigset_t &mask) override
set signal mask for this object's when the thread_signal will be run
virtual ~thread_signal()=default
destructor
thread_signal(const thread_signal &ref)=delete
copy constructor and assignment operator are disabled from libhtreadar::thread
virtual void signaled_inherited_cancel()
replaces thread::inherited_cancel() and should be used instead of it
virtual void inherited_cancel()
This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of ...
holds the definition of the thread class