Subject: Re: /dev/music weirdness
To: Lennart Augustsson <lennart@mail.augustsson.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 01/26/2001 18:20:09
On Fri, Jan 26, 2001 at 09:00:58PM -0500, Lennart Augustsson wrote:

 > Sounds like a good idea, except DON'T USE DELAY().  Sorry for shouting,
 > but there are far too many delay()s in the kernel.  Use tsleep() instead.

There are some reasons to use delay!  If what you're doing is timing
sensitive, tsleep() is absolutely the wrong thing to use.  You can block
for a very long time if you tsleep().

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>