The Linux Programming Interface

(nextflipdebug5) #1

Chapter 22: Signals: Advanced Features


This chapter completes the discussion of signals that we began in Chapter 20, cover-
ing a number of more advanced topics, including the following:

z core dump files;
z special cases regarding signal delivery, disposition, and handling;
z synchronous and asynchronous generation of signals;
z when and in what order signals are delivered;
z interruption of system calls by signal handlers, and how to automatically restart
interrupted system calls;
z realtime signals;
z the use of sigsuspend() to set the process signal mask and wait for a signal to arrive;
z the use of sigwaitinfo() (and sigtimedwait()) to synchronously wait for a signal
to arrive;
z the use of signalfd() to receive a signal via file descriptor; and
z the older BSD and System V signal APIs.
Free download pdf