[mythtv] Re: [PATCH] Eliminate backend race condition

Mark Frey markfrey at fastmail.fm
Fri Jan 9 13:49:48 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 

Sorry, here's the -u version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: be2frz.diff
Type: application/octet-stream
Size: 1705 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040109/ce259da3/be2frz.obj


More information about the mythtv-dev mailing list