From owner-cvs-all Tue Oct 31 10:34:44 2000 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 9E1DB37B479; Tue, 31 Oct 2000 10:34:40 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id NAA93813; Tue, 31 Oct 2000 13:34:39 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 31 Oct 2000 13:34:39 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys mutex.h In-Reply-To: <200010311720.JAA99904@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 31 Oct 2000, John Baldwin wrote: > jhb 2000/10/31 09:20:55 PST > > Modified files: > sys/sys mutex.h > Log: > Use do { ... } while (0) to wrap the body of mtx_assert(). > > Reported by: rwatson Actually, this was reported by eivind, but I brought up the issue of mutex assertions by suggesting INVARIANTS should be enabled in -CURRENT's GENERIC by default. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message