2009-08-21

Chapter 22: Signals: Advanced Features

In this chapter, we continue our discussion of signals, covering a number of more advanced topics, including:
  • 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;
  • using sigsuspend() to set the process signal mask wait for a signal to arrive;
  • using sigwaitinfo() (and sigtimedwait()) to synchronously wait for a signal to arrive;
  • using signalfd() to receive a signal via file descriptor; and
  • the older BSD and System V signal APIs.

22 Signals: Advanced Features
22.1 Core Dump Files
22.2 Special Cases for Signal Delivery, Disposition, and Handling
22.3 Interruptible and Uninterruptible Process Sleep States
22.4 Hardware-generated Signals
22.5 Synchronous and Asynchronous Signal Generation
22.6 Timing and Order of Signal Delivery
22.7 Implementation and Portability of signal()
22.8 Realtime Signals
        22.8.1 Sending Realtime Signals
        22.8.2 Handling Realtime Signals
22.9 Waiting for a Signal Using a Mask: sigsuspend()
22.10 Synchronously Waiting for a Signal
22.11 Fetching Signals via a File Descriptor
22.12 Interprocess Communication with Signals
22.13 Earlier Signal APIs (System V and BSD)
22.14 Summary
22.15 Exercises

No comments:

Post a Comment