previous: >>108492651
#define __NR_rt_sigsuspend 130
https://man7.org/linux/man-pages/man2/sigsuspend.2.html
tl;dr:
wait for a signal
i really thought this was going to temporarily block a signal, but nope lol. it blocks the thread while waiting for a signal. nevermind that we just had rt_sigtimedwait
it also temporarily updates the thread's sigset mask, which is something, i guess. still seems like a useless syscall imo
but, like all the others, since it's in there, *someone* must have (had?) a use for it
thankfully this is the last of the rt_* syscalls
relevant resources:
man man
Comment too long. Click here to view the full text.