summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2019-02-13 23:54:10 +0000
committermpi <mpi@openbsd.org>2019-02-13 23:54:10 +0000
commit3229ec54b30580d61ef9c5943bf31a024ccfa29d (patch)
treee6693e7cf9acc7c6254718e7f037557e2e84213b
parentchange rt_ifa_add and rt_ifa_del so they take an rdomain argument. (diff)
downloadwireguard-openbsd-3229ec54b30580d61ef9c5943bf31a024ccfa29d.tar.xz
wireguard-openbsd-3229ec54b30580d61ef9c5943bf31a024ccfa29d.zip
Remove IMPLEMENTATION NOTES, they only apply to one of the two in-tree
implementations. Pointed out by pirofti@
-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 ,