Adds the specified signal to the set.
Adds the specified signals to the set.
Blocks the signals in in the set of this instance in the calling thread. Signals that are not in this set but are already blocked will stay blocked.
Executes op with the signals in this set blocked. The signals are automatically unblocked again after op has finished (returned or threw).
Clears all signals in the set (i.e. sets to the set of no signals).
Tells whether a signal is in the set.
Calls pthread_sigmask() with the set of signals of this instance.
Cast operator for convenient use of this struct in C functions which accept a sigset_t.
Removes the specified signal from the set.
Removes the specified signals from the set.
Sets to the set of all signals.
Unblocks the signals in in the set of this instance in the calling thread. Signals that are not in this set but are not blocked will stay unblocked.
Gets the signal mask for the calling thread.
Signal set struct wrapping the C sigset_t and its setter / getter functions.
Note that, as this is a struct rather than a class, and thus has no constructor, it is necessary to explicitly call the clear() method before using an instance.