However mechanisms exist on posix compliant systems

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ol to the next instruction (ÁÒ ÜØ CHAPTER 8. EXCEPTIONAL CONTROL FLOW ) in the logical control flow of Ô. However, if the set is nonempty, then the kernel chooses some signal in the set (typically the smallest ) and forces Ô to receive signal . The receipt of the signal triggers some action by the process. Once the process completes the action, then control passes back to the next instruction (ÁÒ ÜØ ) in the logical control flow of Ô. Each signal type has a predefined default action, which is one of the following: ¯ ¯ ¯ ¯ The process terminates. The process terminates and dumps core. The process stops until restarted by a SIGCONT signal. The process ignores the signal. Figure 8.23 shows the default actions associated with each type of signal. For example, the default action for the receipt of a SIGKILL is to terminate the receiving process. On the other hand, the default action for the receipt of a SIGCHLD is to ignore the signal. A process can modify the default action associated with a signal by using the signal function. The only exceptions are SIGSTOP an...
View Full Document

This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online