diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-10 21:07:49 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-10 21:07:49 +0000 |
commit | 1d296f15a5d280aaec01e3cd03f35df59e8b6b99 (patch) | |
tree | 357ef023fe5cfe872f6d6113a5ed1b203c55b099 /share/man/man9 | |
parent | b3858ba7fcf44b133f7bbaf1d328e0053a21f04a (diff) |
Document RW_DOWNGRADE.
miod noticed that I forgot to commit it.
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/rwlock.9 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9 index 1cb5d462f0c..d1773fab23a 100644 --- a/share/man/man9/rwlock.9 +++ b/share/man/man9/rwlock.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rwlock.9,v 1.4 2007/01/11 12:06:46 art Exp $ +.\" $OpenBSD: rwlock.9,v 1.5 2007/04/10 21:07:48 art Exp $ .\" .\" Copyright (c) 2006 Pedro Martelletto <pedro@openbsd.org> .\" All rights reserved. @@ -73,6 +73,9 @@ The possible flags are: Acquire a shared lock. .It Dv RW_WRITE Acquire an exclusive lock. +.It Dv RW_DOWNGRADE +Safely release an exclusive lock and acquire a shared lock without +letting other exclusive locks in between. .It Dv RW_INTR When waiting for a lock, allow signals to interrupt the sleep. .It Dv RW_NOSLEEP |