sigaction.2: Clarify that sa_mask affects the *per-thread* signal mask

The page didn't previously clearly explain the scope of the
signal mask that is affected by sa_mask.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-10-18 11:12:35 +02:00
parent 67db0c8390
commit 7acf5ebe43
1 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@
.\" 2005-09-15, mtk, split sigpending(), sigprocmask(), sigsuspend()
.\" out of this page into separate pages.
.\"
.TH SIGACTION 2 2008-10-04 "Linux" "Linux Programmer's Manual"
.TH SIGACTION 2 2008-10-17 "Linux" "Linux Programmer's Manual"
.SH NAME
sigaction \- examine and change a signal action
.SH SYNOPSIS
@ -142,8 +142,10 @@ as its second argument and a pointer to a
(cast to \fIvoid\ *\fP) as its third argument.
.PP
.I sa_mask
gives a mask of signals which should be blocked during execution of
the signal handler.
specifies a mask of signals which should be blocked
(i.e., added to the signal mask of the thread in which
the signal handler is invoked)
during execution of the signal handler.
In addition, the signal which triggered the handler
will be blocked, unless the
.B SA_NODEFER