Subject: Re: Is one allowed to call tsleep from within an interrupt context?
To: None <lennart@augustsson.net, ws@tools.de>
From: Lennart Augustsson <augustss@augustsson.net>
List: tech-kern
Date: 09/13/1999 15:56:24
> Hmm, AFAICT there is no MI way to tell whether you are in an interrupt
> context or not :-(.
So then my next question is: shouldn't there be a way?
I think it would be a great improvement if tsleep() panics
if called from an interrupt context instead of doing something
weird (and panic somewhere deeper down if curproc==0).
-- Lennart