Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2016 21:16:34 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301077 - head/share/man/man3
Message-ID:  <201605312116.u4VLGYlN001577@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Tue May 31 21:16:34 2016
New Revision: 301077
URL: https://svnweb.freebsd.org/changeset/base/301077

Log:
  Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages.
  
  Also add support for process-shared synchronization objects to the HISTORY
  sections where they already exist.

Modified:
  head/share/man/man3/pthread_barrierattr.3
  head/share/man/man3/pthread_condattr.3
  head/share/man/man3/pthread_rwlock_init.3
  head/share/man/man3/pthread_rwlockattr_setpshared.3
  head/share/man/man3/pthread_spin_init.3

Modified: head/share/man/man3/pthread_barrierattr.3
==============================================================================
--- head/share/man/man3/pthread_barrierattr.3	Tue May 31 21:09:42 2016	(r301076)
+++ head/share/man/man3/pthread_barrierattr.3	Tue May 31 21:16:34 2016	(r301077)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 19, 2004
+.Dd May 31, 2016
 .Dt PTHREAD_BARRIERATTR 3
 .Os
 .Sh NAME
@@ -131,16 +131,5 @@ and in
 .Lb libthr
 in
 .Fx 5.3 .
-.Sh BUGS
-The implementation of
-barriers
-does not fully conform to
-.St -p1003.2
-because the process-shared attribute is ignored in
-.Lb libthr ;
-if any value other than
-.Dv PTHREAD_PROCESS_PRIVATE
-is specified in a call to
-.Fn pthread_barrierattr_setpshared ,
-it will return
-.Er EINVAL .
+Support for process-shared barriers appeared in
+.Fx 11.0 .

Modified: head/share/man/man3/pthread_condattr.3
==============================================================================
--- head/share/man/man3/pthread_condattr.3	Tue May 31 21:09:42 2016	(r301076)
+++ head/share/man/man3/pthread_condattr.3	Tue May 31 21:16:34 2016	(r301077)
@@ -26,7 +26,7 @@
 .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $FreeBSD$
-.Dd May 9, 2010
+.Dd May 31, 2016
 .Dt PTHREAD_CONDATTR 3
 .Os
 .Sh NAME
@@ -160,15 +160,3 @@ and
 .Fn pthread_condattr_destroy
 functions conform to
 .St -p1003.1-96
-.Sh BUGS
-The implementation of
-condition variables
-does not fully conform to
-.St -p1003.2
-because the process-shared attribute is ignored;
-if any value other than
-.Dv PTHREAD_PROCESS_PRIVATE
-is specified in a call to
-.Fn pthread_condattr_setpshared ,
-it will return
-.Er EINVAL .

Modified: head/share/man/man3/pthread_rwlock_init.3
==============================================================================
--- head/share/man/man3/pthread_rwlock_init.3	Tue May 31 21:09:42 2016	(r301076)
+++ head/share/man/man3/pthread_rwlock_init.3	Tue May 31 21:16:34 2016	(r301077)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 4, 1998
+.Dd May 31, 2016
 .Dt PTHREAD_RWLOCK_INIT 3
 .Os
 .Sh NAME
@@ -98,5 +98,3 @@ The
 .Fn pthread_rwlock_init
 function first appeared in
 .Fx 3.0 .
-.Sh BUGS
-The PTHREAD_PROCESS_SHARED attribute is not supported.

Modified: head/share/man/man3/pthread_rwlockattr_setpshared.3
==============================================================================
--- head/share/man/man3/pthread_rwlockattr_setpshared.3	Tue May 31 21:09:42 2016	(r301076)
+++ head/share/man/man3/pthread_rwlockattr_setpshared.3	Tue May 31 21:16:34 2016	(r301077)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 4, 1998
+.Dd May 31, 2016
 .Dt PTHREAD_RWLOCKATTR_SETPSHARED 3
 .Os
 .Sh NAME
@@ -88,7 +88,5 @@ The
 .Fn pthread_rwlockattr_setpshared
 function first appeared in
 .Fx 3.0 .
-.Sh BUGS
-The
-.Dv PTHREAD_PROCESS_SHARED
-attribute is not supported.
+Support for process-shared read/write locks appeared in
+.Fx 11.0 .

Modified: head/share/man/man3/pthread_spin_init.3
==============================================================================
--- head/share/man/man3/pthread_spin_init.3	Tue May 31 21:09:42 2016	(r301076)
+++ head/share/man/man3/pthread_spin_init.3	Tue May 31 21:16:34 2016	(r301077)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 22, 2004
+.Dd May 31, 2016
 .Dt PTHREAD_SPIN_INIT 3
 .Os
 .Sh NAME
@@ -121,16 +121,5 @@ and in
 .Lb libthr
 in
 .Fx 5.3 .
-.Sh BUGS
-The implementation of
-.Fn pthread_spin_init
-does not fully conform to
-.St -p1003.2
-because the
-.Fa pshared
-argument is ignored in
-.Lb libthr ;
-if any value other than
-.Dv PTHREAD_PROCESS_PRIVATE
-is specified, it returns
-.Er EINVAL .
+Support for process-shared spinlocks appeared in
+.Fx 11.0 .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605312116.u4VLGYlN001577>