[mythtv-commits] Ticket #11066: deadlock in MythSystem
MythTV
noreply at mythtv.org
Mon Sep 3 21:28:02 UTC 2012
#11066: deadlock in MythSystem
------------------------------------+----------------------------
Reporter: Jack Thomasson <jkt@…> | Owner: wagnerrp
Type: Patch - Bug Fix | Status: closed
Priority: major | Milestone: 0.26
Component: MythTV - MythSystem | Version: 0.25-fixes
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
------------------------------------+----------------------------
Changes (by Jack Thomasson <jkt@…>):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:b5fbc746115308475100c53c17420234da9a2a10/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="b5fbc746115308475100c53c17420234da9a2a10"
Remove potential deadlock on MythSystem IO threads.
This performs finer grained locking against the file descriptor type map
in the IO handling mechanisms for MythSystem. If the read thread wakes
up and has data to process at the exact moment the external thread is
handing off a newly started child to the manager for handling, the two
may hit fdLock and MythSystemIOHandler::m_pLock from opposite
directions, deadlocking both threads.
Fixes #11066
Signed-off-by: Raymond Wagner <rwagner at mythtv.org>
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11066#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list