Home | History | Annotate | Download | only in lib

Lines Matching defs:handler

28    signal() has SysV semantics (ie. the handler is uninstalled before
30 signal is sent twice in a row before we can reinstall our handler,
35 the situation by reading static storage in a signal handler, which
68 for the signal SIGABRT. Only one signal handler is stored for both
75 /* A signal handler. */
79 that signal is not currently handled by the sigaction handler. */
82 /* Signal handler that is installed for signals. */
86 handler_t handler;
98 /* Reinstall the signal handler when required; otherwise update the
99 bookkeeping so that the user's handler may call sigaction and get
101 we wouldn't be in its handler, therefore we know that we are not
104 reinstall the handler will trigger the default handler; oh
106 handler = action_array[sig].sa_handler;
118 /* Invoke the user's handler, then restore prior mask. */
120 handler (sig);
152 inside this function, the user's handler could then call
156 handler; this works since we know that the gnulib sigprocmask
157 replacement does not try to use sigaction() from its handler. */
168 /* Safe to change the handler at will here, since all
181 /* Safe to install the handler before updating action_array,