mirror of https://github.com/mkerrisk/man-pages
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:
parent
67db0c8390
commit
7acf5ebe43
|
@ -40,7 +40,7 @@
|
||||||
.\" 2005-09-15, mtk, split sigpending(), sigprocmask(), sigsuspend()
|
.\" 2005-09-15, mtk, split sigpending(), sigprocmask(), sigsuspend()
|
||||||
.\" out of this page into separate pages.
|
.\" 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
|
.SH NAME
|
||||||
sigaction \- examine and change a signal action
|
sigaction \- examine and change a signal action
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -142,8 +142,10 @@ as its second argument and a pointer to a
|
||||||
(cast to \fIvoid\ *\fP) as its third argument.
|
(cast to \fIvoid\ *\fP) as its third argument.
|
||||||
.PP
|
.PP
|
||||||
.I sa_mask
|
.I sa_mask
|
||||||
gives a mask of signals which should be blocked during execution of
|
specifies a mask of signals which should be blocked
|
||||||
the signal handler.
|
(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
|
In addition, the signal which triggered the handler
|
||||||
will be blocked, unless the
|
will be blocked, unless the
|
||||||
.B SA_NODEFER
|
.B SA_NODEFER
|
||||||
|
|
Loading…
Reference in New Issue