From owner-cvs-all Sun Dec 17 21:50:36 2000 From owner-cvs-all@FreeBSD.ORG Sun Dec 17 21:50:34 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5E46237B400; Sun, 17 Dec 2000 21:50:34 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBI5oYQ12161; Sun, 17 Dec 2000 21:50:34 -0800 (PST) (envelope-from jake) Message-Id: <200012180550.eBI5oYQ12161@freefall.freebsd.org> From: Jake Burkholder Date: Sun, 17 Dec 2000 21:50:34 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys lock.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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