mutex_owned: update about not-held test.

This commit is contained in:
rmind 2012-07-07 21:27:56 +00:00
parent e74e71f4a2
commit 13263649d9
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mutex.9,v 1.24 2010/12/02 12:54:13 wiz Exp $
.\" $NetBSD: mutex.9,v 1.25 2012/07/07 21:27:56 rmind Exp $
.\"
.\" Copyright (c) 2007, 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd September 14, 2010
.Dd July 7, 2012
.Dt MUTEX 9
.Os
.Sh NAME
@ -186,8 +186,8 @@ For example:
KASSERT(mutex_owned(\*[Am]driver_lock));
.Ed
.Pp
It should not be used to make locking decisions at run time, or to
verify that a lock is not held.
It should not be used to make locking decisions at run time.
For spin mutexes, it must not be used to verify that a lock is not held.
.It Fn mutex_spin_enter "mtx"
.Pp
Equivalent to