[mythtv] [PATCH] Possible fix for mutex destroy failure problem

Isaac Richards ijr at case.edu
Sun Apr 10 05:06:27 UTC 2005


On Friday 08 April 2005 11:22 pm, Jason Gillis wrote:
> I've worked up a possible fix for the "Mutex destroy failure" problem on
> the master backend that comes up when a slave backend disconnects at the
> wrong time.

I think there's a couple subtle threading issues with this patch due to the 
fact that signals are going to be sent/handled in the same thread that's 
sending them.  The destroyConnect signal will then possibly be sent from one 
of the worker pool threads, but the endConnect function handler is written 
assuming that it will only be called from the main qt event loop.

Isaac


More information about the mythtv-dev mailing list