Date: Mon, 24 Jun 2013 18:40:51 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r252168 - stable/9/share/man/man9 Message-ID: <201306241840.r5OIepQp094082@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Mon Jun 24 18:40:51 2013 New Revision: 252168 URL: http://svnweb.freebsd.org/changeset/base/252168 Log: MFC 252037: Document RA_RECURSED and RA_NOTRECURSED. Modified: stable/9/share/man/man9/rwlock.9 Directory Properties: stable/9/share/man/man9/ (props changed) Modified: stable/9/share/man/man9/rwlock.9 ============================================================================== --- stable/9/share/man/man9/rwlock.9 Mon Jun 24 18:37:52 2013 (r252167) +++ stable/9/share/man/man9/rwlock.9 Mon Jun 24 18:40:51 2013 (r252168) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 1, 2008 +.Dd June 20, 2013 .Dt RWLOCK 9 .Os .Sh NAME @@ -256,7 +256,7 @@ with and .Cd "options INVARIANT_SUPPORT" , the kernel will panic. -Currently the following assertions are supported: +Currently the following base assertions are supported: .Bl -tag -width ".Dv RA_UNLOCKED" .It Dv RA_LOCKED Assert that current thread holds either a shared or exclusive lock @@ -272,6 +272,20 @@ Assert that current thread holds an excl Assert that current thread holds neither a shared nor exclusive lock of .Fa rw . .El +.Pp +In addition, one of the following optional flags may be specified with +.Dv RA_LOCKED , +.Dv RA_RLOCKED , +or +.Dv RA_WLOCKED : +.Bl -tag -width ".Dv RA_NOTRECURSED" +.It Dv RA_RECURSED +Assert that the current thread holds a recursive lock of +.Fa rw . +.It Dv RA_NOTRECURSED +Assert that the current thread does not hold a recursive lock of +.Fa rw . +.El .El .Sh SEE ALSO .Xr locking 9 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306241840.r5OIepQp094082>