Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/05/2001 07:38:10
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Jun  5 04:38:10 UTC 2001

Modified Files:
	syssrc/sys/kern: kern_lock.c
	syssrc/sys/sys: lock.h

Log Message:
Add a simple_lock_only_held() LOCKDEBUG routine, which allows code
to assert that exactly zero or one (and a specific one) locks are
held.

From Bill Sommerfeld.


To generate a diff of this commit:
cvs rdiff -r1.54 -r1.55 syssrc/sys/kern/kern_lock.c
cvs rdiff -r1.44 -r1.45 syssrc/sys/sys/lock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.