From: Keir Fraser Subject: Re: disabling irqs in a non-preemptive OS Date: Fri, 01 Jan 2010 09:01:59 +0000 Message-ID: References: <4B3D30B9.6070304@jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B3D30B9.6070304@jhuapl.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Matthew Fioravante , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 31/12/2009 23:16, "Matthew Fioravante" wrote: > mini-os is a uniprocessor and non-preemptive OS so unless your thread > blocks, an irq handler (in this case event channel handler) will never > be run and thus won't be able to touch your critical sections. What makes you think that? 'Non-preemptive' doesn't mean that you can't be interrupted by irq context. That's why they're called interrupts! -- Keir