Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Signals in unix systems

1,415 views

Published on

Published in: Technology
  • Be the first to comment

Signals in unix systems

  1. 1. Signals in Unix Systems<br />A presentation by ,<br />Gopinathan.rm<br />
  2. 2. Signals and their Role<br />Introduced to simplify interprocess communication.<br />Main purposes:<br />Make process aware of occurred event.<br />force a process to execute a signal handler function included in its code.<br />A signal is a very short message that may be sent to a process or to a group of processes. The only information given to the process is usually the number identifying the signal; there is no room in standard signals for arguments, a message, or other accompanying information.<br />
  3. 3. Inter-process Communication<br />
  4. 4. First 31 signals in Linux/i386<br />the first 31 signals handled by Linux 2.2 for the Intel 80x86 architecture (some<br />signal numbers such as SIGCHLD or SIGSTOP are architecture-dependent; furthermore, some<br />signals are defined only for specific architectures).<br />
  5. 5. System calls related to signals<br />A number of system calls allow programmers to send signals and determine how their<br />processes exploit the signals they recieve<br />
  6. 6. Signal sending<br />
  7. 7. Signal receiving<br />
  8. 8. Actions to be performed upon receiving a signal<br />
  9. 9. Data structures associated with signals<br />
  10. 10. Operations on signal data structures<br />
  11. 11. Queries<br />

×