Blocks a signal from this thread.
fn block_signal(sig: Signal) -> Result<Sigset, Errno>
The signal to block.
Returns of signals that were blocked before the call.
sigprocmask(2)