From owner-freebsd-arch Thu Mar 15 18:27:18 2001 Delivered-To: freebsd-arch@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id 7F10C37B719; Thu, 15 Mar 2001 18:27:14 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id f2G2Nxu23750; Thu, 15 Mar 2001 20:23:59 -0600 (CST) (envelope-from jlemon) Date: Thu, 15 Mar 2001 20:23:59 -0600 From: Jonathan Lemon To: John Baldwin Cc: arch@FreeBSD.ORG Subject: Re: Proposal for the CPU interrupt API Message-ID: <20010315202359.K82645@prism.flugsvamp.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 15, 2001 at 06:25:30PM -0800, John Baldwin wrote: > and the code above would become this instead: > > intrmask_t foo = intr_disable(); > ... > intr_restore(foo); > > Comments, objections? Sounds good to me. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message