summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/rwlock.96
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9
index 6e7e2bb32cf..70b10371b72 100644
--- a/share/man/man9/rwlock.9
+++ b/share/man/man9/rwlock.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rwlock.9,v 1.2 2006/05/07 20:15:06 tedu Exp $
+.\" $OpenBSD: rwlock.9,v 1.3 2006/08/16 10:19:00 dlg Exp $
.\"
.\" Copyright (c) 2006 Pedro Martelletto <pedro@openbsd.org>
.\" All rights reserved.
@@ -48,6 +48,10 @@ The
.Fn rw_init
function is used to initiate the lock pointed to by
.Fa rwl .
+The
+.Fa name
+argument specifies the name of the lock, which is used as the wait message
+if the process needs to sleep.
.Pp
The
.Fn rw_enter_read