Source-Changes archive

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

CVS commit: src/sys

Module Name:    src
Committed By:   skrll
Date:           Mon Feb  8 09:54:27 UTC 2010

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

Log Message:

        Invert the sense of the bit to mark if LOCKDEBUG is enabled to

        This will help my fellow developers spot "use before initialised"
        problems that hppa picks up very well.

but fix the !LOCKDEBUG case by defining the "no debug" bits to zero so
they have no effect on lock stubs.

To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/kern_mutex.c
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/kern_rwlock.c
cvs rdiff -u -r1.19 -r1.20 src/sys/sys/mutex.h
cvs rdiff -u -r1.9 -r1.10 src/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