Date: Sun, 17 Dec 2000 21:50:34 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys lock.h Message-ID: <200012180550.eBI5oYQ12161@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2000/12/17 21:50:34 PST Modified files: sys/sys lock.h Log: Add an assertion macro for lockmgr locks, LOCKMGR_ASSERT(lkp, what, p). The what argument is the hold type that assertion acts on. LK_SHARED to assert that the process holds a shared, LK_EXCLUSIVE to assert that the process holds _either_ a shared lock or an exclusive lock. Revision Changes Path 1.24 +23 -1 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?200012180550.eBI5oYQ12161>