Signals in unix systems

776 views
706 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
776
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

×