Subject: CVS commit: [newlock] syssrc/sys
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 03/14/2002 19:11:04
Module Name:	syssrc
Committed By:	thorpej
Date:		Thu Mar 14 17:11:03 UTC 2002

Modified Files:
	syssrc/sys/conf [newlock]: files
Added Files:
	syssrc/sys/kern [newlock]: kern_rwlock.c
	syssrc/sys/sys [newlock]: rwlock.h

Log Message:
Reader/writer lock implementation, modeled after the Solaris rwlocks,
a description of which can be found in:

	Solaris Internals: Core Kernel Architecture, Jim Mauro and
	    Richard McDougall, section 3.6.

XXX Does not currently distinguish between waiting readers and
    waiting writers.
XXX Because of above, does not yet implement direct-handoff.


To generate a diff of this commit:
cvs rdiff -r1.500.2.2 -r1.500.2.3 syssrc/sys/conf/files
cvs rdiff -r0 -r1.1.2.1 syssrc/sys/kern/kern_rwlock.c
cvs rdiff -r0 -r1.1.2.1 syssrc/sys/sys/rwlock.h

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