[mythtv] [PATCH] Eliminate backend race condition

thor mythtv at lamedomainname.com
Fri Jan 9 13:35:25 EST 2004


On Friday 09 January 2004 13:26, Mark Frey wrote:
> In ProcessRequestThread::run() if the thread is interupted between
> "if (!dostuff)" and "waitCond.wait();" the request may not be
> processed, and the ProcessRequestThread object lost from the thread
> pool. If this happens for a REQUEST_RINGBUF_BLOCK request, live tv
> freezes.
>
> I believe this fixes at least some of the reported freezes. I've
> tested on my machine for 10+ hours without a freeze, and Tony Maro
> has tested for 8 hours without a freeze.

	Hmmmm. Can you resend this as a diff -u ? I think I follow what it's 
doing, but it's a bit tough to follow in this format.

- thor



More information about the mythtv-dev mailing list