previous: >>107878988
#define __NR_rt_sigprocmask 14
https://man7.org/linux/man-pages/man2/sigprocmask.2.html
today's thread is again mostly a continuation of the previous thread's discussion. we will focus on linux signals in general. from the manpage, these two excerpts are what i feel is the most interesting:
>It is not possible to block SIGKILL or SIGSTOP. Attempts to do so are silently ignored.
this one makes sense if you understand the reasoning behind it, but i have seen many questions on this in the past. definitely a topic worth discussing
>Each of the threads in a process has its own signal mask.
this is useful because it is powerful, but it is also really annoying in its complexity, lol
i guess honorable mention to the note about undefined behavior, as well
relevant resources:
man man
man syscalls
Comment too long. Click here to view the full text.