Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 08/17/2000 07:15:44
Module Name: syssrc
Committed By: thorpej
Date: Thu Aug 17 04:15:44 UTC 2000
Modified Files:
syssrc/sys/kern: kern_lock.c
syssrc/sys/sys: lock.h
Log Message:
Some more lock debugging support:
- LOCK_ASSERT(), which expands to KASSERT() if LOCKDEBUG.
- new simple_lock_held(), which tests if the calling CPU holds
the specified simple lock.
From Bill Sommerfeld, modified slightly by me.
To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 syssrc/sys/kern/kern_lock.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/sys/lock.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.