diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2018-06-04 04:46:09 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2018-06-04 04:46:09 +0000 |
commit | 6c35fd6f0d100fe1e0b30e0a8457533b04ff5a46 (patch) | |
tree | 59dadafd490567849a9b4a6571d8d29053d18284 /share/man/man9 | |
parent | 181875001cc854c2f473b80e3c357e49d82f88f1 (diff) |
Add RW_DUPOK for suppressing witness checks for specific rw_enter() calls
ok deraadt@ visa@
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/rwlock.9 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9 index 8270a938c97..9b7276926e3 100644 --- a/share/man/man9/rwlock.9 +++ b/share/man/man9/rwlock.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rwlock.9,v 1.20 2017/10/30 13:33:36 visa Exp $ +.\" $OpenBSD: rwlock.9,v 1.21 2018/06/04 04:46:08 guenther Exp $ .\" .\" Copyright (c) 2006 Pedro Martelletto <pedro@ambientworks.net> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 30 2017 $ +.Dd $Mdocdate: June 4 2018 $ .Dt RWLOCK 9 .Os .Sh NAME @@ -149,6 +149,12 @@ instead. Wait for busy locks, but do not obtain them, fail with .Dv EAGAIN instead. +.It Dv RW_DUPOK +Prevents +.Xr witness 4 , +for just this +.Fn rw_enter , +from logging when this thread already has more than one lock of this lock type. .El .Pp The |