[mythtv-commits] mythtv branch master updated by wagnerrp. v0.26-rc-23-gb5fbc74

Git Repo Owner noreply at mythtv.org
Mon Sep 3 21:27:58 UTC 2012


The branch, master has been updated on the
mythtv repository by gitolite user wagnerrp.
       via  b5fbc746115308475100c53c17420234da9a2a10 (commit)
      from  127b32e40834442ccc2aa87fa72b94a940b5b8cd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b5fbc746115308475100c53c17420234da9a2a10
Author:    Jack Thomasson <jkt at moonlitsw.com> at Mon, 3 Sep 2012 09:21:54 -0600
Committer: Raymond Wagner <rwagner at mythtv.org> at Mon, 3 Sep 2012 17:17:18 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=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>



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/system-unix.cpp    |    6 ++++--
 mythtv/libs/libmythbase/system-windows.cpp |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

-- 



More information about the mythtv-commits mailing list