Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 02/15/2007 15:49:27
Module Name:	src
Committed By:	ad
Date:		Thu Feb 15 15:49:27 UTC 2007

Modified Files:
	src/sys/kern: kern_mutex.c
	src/sys/sys: mutex.h

Log Message:
- Add a mutex_wakeup() which clears the waiters flag and wakes all waiters.
  Will be needed to fix a problem with mutexes on sparc.
- mutex_tryenter(): fix a false "locking against myself" error.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/kern/kern_mutex.c
cvs rdiff -r1.2 -r1.3 src/sys/sys/mutex.h

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