summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2019-02-13 23:54:11 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2019-02-13 23:54:11 +0000
commit133f07ad2f74d770c57afee0907938318c3a2058 (patch)
tree430c5df46b72a8c4d04148cb62c1e67be75da8c2 /lib/libpthread
parentf4b6c16afb0edf8ec9850cea359a9e430a610635 (diff)
Remove IMPLEMENTATION NOTES, they only apply to one of the two in-tree
implementations. Pointed out by pirofti@
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthread_rwlock_rdlock.36
-rw-r--r--lib/libpthread/man/pthread_rwlock_wrlock.36
2 files changed, 4 insertions, 8 deletions
diff --git a/lib/libpthread/man/pthread_rwlock_rdlock.3 b/lib/libpthread/man/pthread_rwlock_rdlock.3
index 72d6fb01a62..4e520e524d8 100644
--- a/lib/libpthread/man/pthread_rwlock_rdlock.3
+++ b/lib/libpthread/man/pthread_rwlock_rdlock.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_rwlock_rdlock.3,v 1.11 2013/06/05 03:44:50 tedu Exp $
+.\" $OpenBSD: pthread_rwlock_rdlock.3,v 1.12 2019/02/13 23:54:10 mpi Exp $
.\" Copyright (c) 1998 Alex Nash
.\" All rights reserved.
.\"
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD: pthread_rwlock_rdlock.3,v 1.2 1999/08/28 00:03:09 peter Exp $
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: February 13 2019 $
.Dt PTHREAD_RWLOCK_RDLOCK 3
.Os
.Sh NAME
@@ -74,8 +74,6 @@ must be called once for each lock obtained.
.Pp
The results of acquiring a read lock while the calling thread holds
a write lock are undefined.
-.Sh IMPLEMENTATION NOTES
-To prevent writer starvation, writers are favored over readers.
.Sh RETURN VALUES
If successful, the
.Fn pthread_rwlock_rdlock ,
diff --git a/lib/libpthread/man/pthread_rwlock_wrlock.3 b/lib/libpthread/man/pthread_rwlock_wrlock.3
index dd4942759ad..92ac071d0c5 100644
--- a/lib/libpthread/man/pthread_rwlock_wrlock.3
+++ b/lib/libpthread/man/pthread_rwlock_wrlock.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_rwlock_wrlock.3,v 1.10 2013/06/05 03:44:50 tedu Exp $
+.\" $OpenBSD: pthread_rwlock_wrlock.3,v 1.11 2019/02/13 23:54:10 mpi Exp $
.\" Copyright (c) 1998 Alex Nash
.\" All rights reserved.
.\"
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD: pthread_rwlock_wrlock.3,v 1.2 1999/08/28 00:03:10 peter Exp $
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: February 13 2019 $
.Dt PTHREAD_RWLOCK_WRLOCK 3
.Os
.Sh NAME
@@ -62,8 +62,6 @@ but does not block if the lock cannot be immediately obtained.
.Pp
The results are undefined if the calling thread already holds the
lock at the time the call is made.
-.Sh IMPLEMENTATION NOTES
-To prevent writer starvation, writers are favored over readers.
.Sh RETURN VALUES
If successful, the
.Fn pthread_rwlock_wrlock ,