Lines Matching refs:signal
27 #include <signal.h>
82 /* We can only use signal-safe functions here.
185 /* This function must be called with the signal lock held. */
244 /* When this function is called, the signal lock must be held. */
247 /* XXX use a separate signal stack? */
265 /* When this function is called, the signal lock must be held. */
272 * signal implies that it was successfully registered earlier, so EINVAL
330 /* Stop all the signal watchers that are still attached to this loop. This
331 * ensures that the (shared) signal tree doesn't contain any invalid entries
332 * entries, and that signal handlers are removed when appropriate.
405 /* Short circuit: if the signal watcher is already watching {signum} don't
415 /* If the signal handler was already active, stop it first. */
422 /* If at this point there are no active signal watchers for this signum (in
431 /* Registering the signal handler failed. Must be an invalid signal. */
580 /* Check if there are other active signal watchers observing this signal. If
581 * not, unregister the signal handler.