mirror of https://github.com/mkerrisk/man-pages
sigsuspend.2: Clarify that sigsuspend() suspends the calling *thread*
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
603a9fa5b6
commit
2ac1d1e3e7
|
@ -45,10 +45,10 @@ _POSIX_C_SOURCE
|
|||
.ad b
|
||||
.SH DESCRIPTION
|
||||
.BR sigsuspend ()
|
||||
temporarily replaces the signal mask of the calling process with the
|
||||
temporarily replaces the signal mask of the calling thread with the
|
||||
mask given by
|
||||
.I mask
|
||||
and then suspends the process until delivery of a signal whose
|
||||
and then suspends the thread until delivery of a signal whose
|
||||
action is to invoke a signal handler or to terminate a process.
|
||||
.PP
|
||||
If the signal terminates the process, then
|
||||
|
@ -66,7 +66,7 @@ or
|
|||
.BR SIGSTOP ;
|
||||
specifying these signals in
|
||||
.IR mask ,
|
||||
has no effect on the process's signal mask.
|
||||
has no effect on the thread's signal mask.
|
||||
.SH RETURN VALUE
|
||||
.BR sigsuspend ()
|
||||
always returns \-1, with
|
||||
|
|
Loading…
Reference in New Issue