Date: Sun, 18 Nov 2007 14:43:53 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_lock.c kern_mutex.c kern_rmlock.c kern_rwlock.c kern_sx.c src/sys/sys lock.h Message-ID: <200711181443.lAIEhru0046636@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2007-11-18 14:43:53 UTC
FreeBSD src repository
Modified files:
sys/kern kern_lock.c kern_mutex.c kern_rmlock.c
kern_rwlock.c kern_sx.c
sys/sys lock.h
Log:
Expand lock class with the "virtual" function lc_assert which will offer
an unified way for all the lock primitives to express lock assertions.
Currenty, lockmgrs and rmlocks don't have assertions, so just panic in
that case.
This will be a base for more callout improvements.
Ok'ed by: jhb, jeff
Revision Changes Path
1.112 +9 -0 src/sys/kern/kern_lock.c
1.200 +10 -0 src/sys/kern/kern_mutex.c
1.3 +9 -0 src/sys/kern/kern_rmlock.c
1.31 +9 -0 src/sys/kern/kern_rwlock.c
1.57 +9 -0 src/sys/kern/kern_sx.c
1.70 +1 -0 src/sys/sys/lock.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711181443.lAIEhru0046636>
