Subject: Re: Is one allowed to call tsleep from within an interrupt context?
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 09/12/1999 10:23:57
On Sun, Sep 12, 1999 at 05:19:36PM +0930, Brett Lymn wrote:
> 
> Folks,
>         Can tsleep be called within an interrupt context?  I have

Absolutely not.  It's been suggested in the past that tsleep should
probably instantly panic if called from an interrupt context, since
backtraces can be difficult to get otherwise (IIRC you may not panic
until you hit code elsewhere in the kernel that tries to reference
curproc).

Thor