[mythtv] [patch] Fix for sluggish pause

Doug Larrick doug at ties.org
Tue Nov 30 15:55:07 UTC 2004


David Engel wrote:
>>As an aside, I think what's happening on my system is that it's fast 
>>enough (specced for HD content, playing NTSC) and a dual-processor 
>>(well, HyperThreaded), so that the sched_yield() often sees no other 
>>runnable threads *for that processor* and immediately returns.
> 
> 
> That's the problem!  Try changing the decoder_lock from a QMutext to a
> pthread_mutex_t and see if that helps.  I suspect it will, and will
> also get rid of the sched_yield which I didn't like anyway.  If you
> can't make the change, I will do it tonight.

I'll give it a try.  I might be able to get to this tonight.

-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041130/56858ba4/signature.pgp


More information about the mythtv-dev mailing list