Author: jilles
Date: Fri May  7 20:46:22 2010
New Revision: 207757
URL: http://svn.freebsd.org/changeset/base/207757

Log:
  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

Modified:
  head/lib/libc/sys/sigprocmask.2

Modified: head/lib/libc/sys/sigprocmask.2
==============================================================================
--- head/lib/libc/sys/sigprocmask.2     Fri May  7 20:02:36 2010        
(r207756)
+++ head/lib/libc/sys/sigprocmask.2     Fri May  7 20:46:22 2010        
(r207757)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to