In message <[EMAIL PROTECTED]>
Mark Weaver <[EMAIL PROTECTED]> wrote:
> As far as I read drivers/media/dvb/dvb-core/dvb_frontend.c, it isn't
> necessary to wait for N lock events. After ioctl(FE_SET_FRONTEND),
> FE_READ_STATUS will return 0 until the tune has completed, so the
> first lock status ought to be good enough. Could also save a bit of
> CPU with poll() rather than the usleep() loop I suppose, but that's an
> aside.
That is true in 2.6.13 but before that there was a race condition
where it would pass on the FE_READ_STATUS even if the kernel thread
had not started tuning yet so you could get the old status.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev