logo       

Re: busy waiting: msg#00030

Subject: Re: busy waiting
On 5/31/06, Randy.Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
On Wed, 31 May 2006 18:37:03 -0400 Trevor Woerner wrote:
you could consider what libata does.
See include/linux/libata.h::ata_busy_wait() or ata_wait_idle().

Is udelay() interruptible? I guess it shouldn't matter as long as it's
wrapped in a for() (or do{}while() in libata's case) and doesn't try
for too long.


<Prev in Thread] Current Thread [Next in Thread>