You can call `sigprocmask()` with the set of signals you wish to mask, or in a thread use `pthread_sigmask()`. See `man 7 signal` and the man page on each of the functions.
You can call `sigprocmask()` with the set of signals you wish to mask, or in a thread use `pthread_sigmask()`. See `man 7 signal` and the man page on each of the functions.