Date: Mon, 9 Apr 2007 01:05:31 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/opensolaris/sys lock.h mutex.h rwlock.h Message-ID: <200704090105.l3915V8i006800@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2007-04-09 01:05:31 UTC
FreeBSD src repository
Modified files:
sys/compat/opensolaris/sys mutex.h rwlock.h
Added files:
sys/compat/opensolaris/sys lock.h
Log:
Instead of detecting if lock is already initialized based on standard 1 bit
check, use more accurate 13 bits check. We had too many false-positives with
the standard check.
Reported by: mlaier
Revision Changes Path
1.1 +46 -0 src/sys/compat/opensolaris/sys/lock.h (new)
1.2 +4 -1 src/sys/compat/opensolaris/sys/mutex.h
1.2 +7 -3 src/sys/compat/opensolaris/sys/rwlock.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704090105.l3915V8i006800>
