z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Condition step for POSIX signals under Language Environment

z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
SA38-0689-00

You might find it helpful to read about the Language Environment condition step before reading this section.

  1. At each stack frame (or until the condition is handled, or all of your application's stack frames have been visited), do the following:
    • If the signal action was set in a call to signal(), the action requested by the signal handler takes place.

      If the signal action was set in a call to sigaction(), sigactionset() or bsd_signal(), the action is ignored until a later step.

  2. When all application stack frames have been visited, the incurring stack frame's language defaults are applied.

    C applies its default only if the signal action was set in a call to signal(). Otherwise, the signal is percolated.

  3. If the signal is percolated from the previous step, the following occurs:
    • If the signal is a POSIX signal whose signal action was set in a call to sigaction(), sigactionset() or bsd_signal(), the POSIX action (SIG_DFL or a catcher) is applied.
    • For any other signal, Language Environment applies its default actions (described in Table 1).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014