Subject: Re: Is one allowed to call tsleep from within an interrupt context?
To: None <,>
From: Lennart Augustsson <>
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