Messages in this thread | | | Date | Thu, 4 Sep 2003 10:53:02 -0700 | From | Mike Fedyk <> | Subject | Re: drivers/sound/i810_audio.c bug and patch |
| |
On Thu, Sep 04, 2003 at 12:01:43PM +0100, Alan Cox wrote: > On Iau, 2003-09-04 at 02:43, Mike Fedyk wrote: > > > set_current_state(TASK_UNINTERRUPTIBLE); > > > schedule_timeout(HZ/20); > > > Why busy wait especially when you can sleep 1ms each time and poll less? > > I think you read it wrong - its sleeping...
Yep, you're right. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |