CS 3733 Operating Systems
Reading: Sections 5.3-5.4 of PUP
sigemptyset, sigfillset,
sigaddset, sigdelset, sigismembersigprocmask
with SIG_BLOCK, SIG_UNBLOCK
and SIG_SETMASK.
sigaction
SIG_DFL is the default handler.
SIG_IGN indicates the signal should be thrown away.
(You should understand why this is different than blocking a signal.)
pause suspends a process until a signal is delivered.
sigsuspend does an atomic unblock and suspend for
a set of signals.
Skill: Understand how to catch a signal