sigwait.3: ATTRIBUTES: Note function that is thread-safe

The function sigwait() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Peng Haitao 2013-12-16 14:20:25 +08:00 committed by Michael Kerrisk
parent 19d5bec94f
commit 598a7a2d14
1 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
.TH SIGWAIT 3 2012-07-21 "Linux" "Linux Programmer's Manual"
.TH SIGWAIT 3 2013-12-16 "Linux" "Linux Programmer's Manual"
.SH NAME
sigwait \- wait for a signal
.SH SYNOPSIS
@ -77,6 +77,11 @@ On error, it returns a positive error number (listed in ERRORS).
.\" Does not occur for glibc.
.I set
contains an invalid signal number.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR sigwait ()
function is thread-safe.
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES