summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-05-31 21:16:34 +0000
committerjilles <jilles@FreeBSD.org>2016-05-31 21:16:34 +0000
commitbc2144d2fa46c6b975ca7c89859998abadba0092 (patch)
tree81d344c734b052f2176250c18f2e1ef264d72533
parent4afa5fbeced93ca2855e8a790d19dfe65d31196b (diff)
downloadFreeBSD-src-bc2144d2fa46c6b975ca7c89859998abadba0092.zip
FreeBSD-src-bc2144d2fa46c6b975ca7c89859998abadba0092.tar.gz
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.
-rw-r--r--share/man/man3/pthread_barrierattr.317
-rw-r--r--share/man/man3/pthread_condattr.314
-rw-r--r--share/man/man3/pthread_rwlock_init.34
-rw-r--r--share/man/man3/pthread_rwlockattr_setpshared.38
-rw-r--r--share/man/man3/pthread_spin_init.317
5 files changed, 11 insertions, 49 deletions
diff --git a/share/man/man3/pthread_barrierattr.3 b/share/man/man3/pthread_barrierattr.3
index 2920f67..bbf37d9 100644
--- a/share/man/man3/pthread_barrierattr.3
+++ b/share/man/man3/pthread_barrierattr.3
@@ -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 .
diff --git a/share/man/man3/pthread_condattr.3 b/share/man/man3/pthread_condattr.3
index a26b6ec..f72fd25 100644
--- a/share/man/man3/pthread_condattr.3
+++ b/share/man/man3/pthread_condattr.3
@@ -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 .
diff --git a/share/man/man3/pthread_rwlock_init.3 b/share/man/man3/pthread_rwlock_init.3
index 2617c43..1b0023c 100644
--- a/share/man/man3/pthread_rwlock_init.3
+++ b/share/man/man3/pthread_rwlock_init.3
@@ -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.
diff --git a/share/man/man3/pthread_rwlockattr_setpshared.3 b/share/man/man3/pthread_rwlockattr_setpshared.3
index ccfe886..bf2ddac 100644
--- a/share/man/man3/pthread_rwlockattr_setpshared.3
+++ b/share/man/man3/pthread_rwlockattr_setpshared.3
@@ -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 .
diff --git a/share/man/man3/pthread_spin_init.3 b/share/man/man3/pthread_spin_init.3
index 948c16d..3ef67ad 100644
--- a/share/man/man3/pthread_spin_init.3
+++ b/share/man/man3/pthread_spin_init.3
@@ -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 .
OpenPOWER on IntegriCloud