lkml.org 
[lkml]   [2003]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:6.432 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site