sigprocmask(2): pthread_sigmask(3) must be used in threaded processes.

Although libthr's pthread_sigmask() just calls sigprocmask() and this is
unlikely to change, mention this POSIX requirement on applications.

MFC after:	1 week
This commit is contained in:
jilles 2010-05-07 20:46:22 +00:00
parent 1e4578001f
commit 0f4a2250a0

View File

@ -28,7 +28,7 @@
.\" @(#)sigprocmask.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
.Dd June 4, 1993
.Dd May 7, 2010
.Dt SIGPROCMASK 2
.Os
.Sh NAME
@ -96,6 +96,11 @@ quietly disallows
or
.Dv SIGSTOP
to be blocked.
.Pp
In threaded applications,
.Xr pthread_sigmask 3
must be used instead of
.Fn sigprocmask .
.Sh RETURN VALUES
.Rv -std sigprocmask
.Sh ERRORS
@ -116,6 +121,7 @@ has a value other than those listed here.
.Xr sigpending 2 ,
.Xr sigsuspend 2 ,
.Xr fpsetmask 3 ,
.Xr pthread_sigmask 3 ,
.Xr sigsetops 3
.Sh STANDARDS
The