Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter completes the discussion of signals that we began in Chapter 20, covering a number of more advanced topics, including the following:
core dump files;
special cases regarding signal delivery, disposition, and handling;
synchronous and asynchronous generation of signals;
when and in what order signals are delivered;
interruption of system calls by signal handlers, and how to automatically restart interrupted system calls;
realtime signals;
the use of sigsuspend() to set the process signal mask and wait for a signal to arrive;
the use of sigwaitinfo() (and sigtimedwait()) to synchronously wait for a signal to arrive;
the use of signalfd() to receive a signal via file descriptor; and
the older BSD and System V signal APIs.