Subject: Re: Mutex question
To: Hans Petter Selasky <hselasky@c2i.net>
From: Matthew Orgass <darkstar@city-net.com>
List: tech-kern
Date: 03/16/2006 09:16:57
On 2006-03-16 hselasky@c2i.net wrote:

> If I want to aquire a mutex from:
>
> 1) Interrupt handler
> 2) Callout (timeout)
>
> How do I do that? Do I have to use a soft interrupt handler?

  No, you just need to use the right spl calls to block the hard interrupt
in the callout (placed outside the lock).

Matthew Orgass
darkstar@city-net.com