[mythtv] [PATCH] Remove use of deprecated DVB events.

Mark Weaver mark-clist at npsl.co.uk
Thu Sep 1 16:35:32 UTC 2005


Stuart Auchterlonie wrote:
> On Thu, Sep 01, 2005 at 03:39:19AM +0100, Stuart Auchterlonie wrote:
> 
>>On Wed, Aug 31, 2005 at 04:11:59PM +0200, Kenneth Aafløy wrote:
>>
>>>And when looking over what I wrote last night, I notice that I should
>>>not program when half-asleep. New patch attached, which actually do
>>>check for a lock :)
>>>
It doesn't look right to me as you never drain the event queue.  After 
the first tune, you'll have an event, which you never read.  After that 
select() will return true every time until the event queue fills up, at 
which point it should return an EOVERFLOW (indicating events were lost) 
and then still be ready for reading.

It will work with drivers that don't have the FE_READ_STATUS race 
condition mentioned by Tom Hughes (<2.6.13) but boils down to a busy 
poll loop.

That's how I read it anyway!

Thanks,

Mark


More information about the mythtv-dev mailing list