Google
  Web www.spinics.net

Re: [PULL] http://linuxtv.org/hg/~anttip/v4l-dvb/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, 10 Jun 2008 14:47:52 +0300
Antti Palosaari <crope@xxxxxx> wrote:

> Hi Mauro,
> I fixed the msleep(0) issue and here comes the new PULL-request.

Committed, thanks.

> Is there any rule of thumb when to use msleep(1) or udelay() non 
> critical delay needed, or can we just use msleep(1) always?

Basically: use msleep(). It allows other tasks to be scheduled while the
process is doing nothing. udelay() is meant to be used when the hardware needs
a precise amount of time, since it runs a do-nothing loop. Also, msleep may
eat less power, since processor can reduce its power consumption if there's
nothing to be scheduled.

Cheers,
Mauro

_______________________________________________
v4l-dvb-maintainer mailing list
v4l-dvb-maintainer@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l-dvb-maintainer

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [Linux USB]

-->
Add to Google Powered by Linux

Google PageRank Checking tool