Subject: CVS commit: src/sys/dev/sysmon
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 09/08/2007 15:25:19
Module Name:	src
Committed By:	xtraeme
Date:		Sat Sep  8 15:25:19 UTC 2007

Modified Files:
	src/sys/dev/sysmon: sysmon_envsys.c sysmon_envsys_events.c
	    sysmon_envsysvar.h

Log Message:
Use only one single condvar(9) for devices and events, they are protected
by the same mutex (sme_mtx) and there's no point in using two of them.

Also add a comment mentioning some locking notes.

Reviewed and ok by rmind.


To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 src/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -r1.32 -r1.33 src/sys/dev/sysmon/sysmon_envsys_events.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/sysmon/sysmon_envsysvar.h

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