diff options
author | jilles <jilles@FreeBSD.org> | 2010-05-07 20:46:22 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-05-07 20:46:22 +0000 |
commit | 0f4a2250a034241a0506094936eb22fdd18d42ad (patch) | |
tree | a2937e701f295f73e9f3508ad080ff8ff588d128 /lib/libc | |
parent | 1e4578001fb2726b9e555d41c0efcb03599eae62 (diff) | |
download | FreeBSD-src-0f4a2250a034241a0506094936eb22fdd18d42ad.zip FreeBSD-src-0f4a2250a034241a0506094936eb22fdd18d42ad.tar.gz |
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
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/sigprocmask.2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2 index ef555a4..f7c8335 100644 --- a/lib/libc/sys/sigprocmask.2 +++ b/lib/libc/sys/sigprocmask.2 @@ -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 |