From 22fe4981c27a72a8a14f5b9057ea5da82436c52a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 5 Oct 2008 07:30:24 +0200 Subject: [PATCH] signal.7: Give overview of syscalls that block until a signal is caught Signed-off-by: Michael Kerrisk --- man7/signal.7 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/man7/signal.7 b/man7/signal.7 index 7cf606486..9c951def1 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -115,6 +115,17 @@ Sends a signal to a specified thread within a specific process. .TP .BR sigqueue (2) Sends a real-time signal with accompanying data to a specified process. +.SS Waiting for a Signal to be Caught +The following system calls suspend execution of the calling process +or thread until a signal is caught +(or an unhandled signal terminates the process): +.TP 16 +.BR pause (2) +Suspends execution until any signal is caught. +.TP +.BR sigsuspend (2) +Temporarily changes the signal mask (see below) and suspends +execution until one of the unmasked signals is caught. .SS "Signal Mask and Pending Signals" A signal may be .IR blocked ,