Subject: Re: calling tsleep() from below routines considered evil?
To: None <is@beverly.rhein.de>
From: Matt Thomas <matt@lkg.dec.com>
List: tech-kern
Date: 06/28/1995 19:00:11
> Is it allowed to call a tsleep() from inside a timer int?

Absolutely not.  tsleep() is only valid from in process context.  The
timer interrupt are in interrupt-context and so you aren't allowed to
sleep.

Either you will need to use timeout() or arrange for this processing
to be done in process context.

Matt Thomas                          Internet:   matt@lkg.dec.com
U*X Networking                       WWW URL:    http://ftp.dec.com/%7Ethomas/
Digital Equipment Corporation        Disclaimer: This message reflects my
Littleton, MA                                    own warped views, etc.