Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [newlock] syssrc/sys



Module Name:    syssrc
Committed By:   thorpej
Date:           Sun Mar 17 20:18:57 UTC 2002

Modified Files:
        syssrc/sys/arch/alpha/include [newlock]: rwlock_impl.h
        syssrc/sys/kern [newlock]: kern_rwlock.c
        syssrc/sys/sys [newlock]: rwlock.h

Log Message:
Change RWLOCK_ACQUIRE() and RWLOCK_RELEASE() to evaluate to true
or false depending on the success of the "compare and swap" operation.

This makes them a lot easier to implement on IA32.


To generate a diff of this commit:
cvs rdiff -r1.1.2.3 -r1.1.2.4 syssrc/sys/arch/alpha/include/rwlock_impl.h
cvs rdiff -r1.1.2.3 -r1.1.2.4 syssrc/sys/kern/kern_rwlock.c
cvs rdiff -r1.1.2.2 -r1.1.2.3 syssrc/sys/sys/rwlock.h

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




Home | Main Index | Thread Index | Old Index