Date: Mon, 26 Aug 2002 11:31:26 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys lock.h src/sys/kern subr_witness.c Message-ID: <200208261831.g7QIVRS6093968@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/08/26 11:31:26 PDT
Modified files:
sys/sys lock.h
sys/kern subr_witness.c
Log:
Add WITNESS_FILE() and WITNESS_LINE(), which allow users of witness
to print out the file and line from the lock object. These will be
used shortly by CTR() calls in the mutex code.
Reviewed by: jhb, jake
Revision Changes Path
1.123 +22 -0 src/sys/kern/subr_witness.c
1.45 +10 -0 src/sys/sys/lock.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208261831.g7QIVRS6093968>
