[mythtv] Re: Ticket #430: Tuner busy on consecutive recordings

Daniel Kristjansson danielk at cuymedia.net
Fri Oct 7 22:45:00 UTC 2005


On Fri, 2005-10-07 at 17:05 -0500, David Engel wrote:
> To help further narrow things down, this change looks like it fits the
> time frame when the problem started for me.
> > 7390 | danielk | 2005-10-04 17:58:36 -0500 (Tue, 04 Oct 2005) | 9 lines
> > Really fix the "Re-enter LiveTV quickly" problem.
> > 
> > This uses sched_yield() to let WaitForEventThreadSleep()
> > start waiting. And if that fails it lowers the wait
> > period in the event loop to 1 second. This means
> > that SpawnLiveTV will always return before the
> > frontend times out.

Hmmm, yeah that could cause it. It slightly changed the semantics
of WaitForEventThreadSleep().

Can you try changing that call on about line 435 in TVRec to:
  WaitForEventThreadSleep(false);
and tell me if that works?

-- Daniel



More information about the mythtv-dev mailing list