From owner-cvs-all Thu Apr 4 12:52:31 2002 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 BF12237B417; Thu, 4 Apr 2002 12:52:27 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34KqRh44151; Thu, 4 Apr 2002 12:52:27 -0800 (PST) (envelope-from jhb) Message-Id: <200204042052.g34KqRh44151@freefall.freebsd.org> From: John Baldwin Date: Thu, 4 Apr 2002 12:52:27 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c src/sys/sys mutex.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2002/04/04 12:52:27 PST Modified files: sys/kern kern_mutex.c sys/sys mutex.h Log: Change mtx_init() to now take an extra argument. The third argument is the generic lock type for use with witness. If this argument is NULL then the lock name is used as the lock type. Add a macro for a lock type name for network driver locks. Revision Changes Path 1.90 +11 -8 src/sys/kern/kern_mutex.c 1.55 +6 -1 src/sys/sys/mutex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message