Date: Thu, 15 Mar 2001 18:28:42 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Jonathan Lemon <jlemon@flugsvamp.com> Cc: John Baldwin <jhb@FreeBSD.ORG>, arch@FreeBSD.ORG Subject: Re: Proposal for the CPU interrupt API Message-ID: <20010315182842.P29888@fw.wintelcom.net> In-Reply-To: <20010315202359.K82645@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Thu, Mar 15, 2001 at 08:23:59PM -0600 References: <XFMail.010315182530.jhb@FreeBSD.org> <20010315202359.K82645@prism.flugsvamp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Jonathan Lemon <jlemon@flugsvamp.com> [010315 18:27] wrote: > 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. wait, bring back splhigh(). :) Seriously, using the mask is a good idea. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010315182842.P29888>