Sets the set of signals that are blocked from this thread.
fn set_blocked_signals(set: Sigset) -> Result<Sigset, Errno>
The new set of blocked signals.
Returns of signals that were blocked before the call.
sigprocmask(2)