Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 02/24/1999 19:55:05
Module Name:	src
Committed By:	chs
Date:		Thu Feb 25 03:55:04 UTC 1999

Modified Files:
	src/sys/kern [chs-ubc]: kern_lock.c
Log Message:
use SLOCK_{,UN}LOCKED for LOCKDEBUG code.
don't bother sleeping when the lock is in the wrong state,
it'll just panic anyway.
change _simple_lock_try() to return 0 if the lock is already held...
this should never happen on a uniprocessor so it's better to know
right away.