Unformatted text preview: ol to the next instruction (ÁÒ
ÜØ CHAPTER 8. EXCEPTIONAL CONTROL FLOW
) in the logical control ﬂow 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 ﬂow of Ô. Each signal type has a predeﬁned 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