O'Reilly logo

The Linux Programming Interface by Michael Kerrisk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 22. Signals: Advanced Features

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required