- Signals are a mechanism to notify a process that an eventoccured : expiration of a timer, completion of an asynchronous I/O operation, or any kind of event specific to your application.
- Signals are also used internally by the system to tell a process that it must be suspended, restarted, stopped, that is has done an invalid memory reference, etc.
- Each signal is identified by a number : SIGSEGV, SIGKILL, SIGUSR1, etc.
- An API is available to catch signals, wait for signals, mask signals, etc.
- See signal(7) for a general description of the signal mechanism.
Wednesday, August 24, 2011
POSIX Signal quick review
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment