Date: Sat, 28 Apr 2001 05:11:06 -0700 (PDT) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_lock.c Message-ID: <200104281211.f3SCB6k88375@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2001/04/28 05:11:05 PDT
Modified files:
sys/kern kern_lock.c
Log:
Instead of asserting that a mutex is not still locked after unlocking it,
assert that the mutex is owned and not recursed prior to unlocking it.
This should give a clearer diagnostic when a programming error is caught.
Revision Changes Path
1.46 +2 -2 src/sys/kern/kern_lock.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104281211.f3SCB6k88375>
