[mythtv-commits] mythtv branch fixes/0.28 updated by stuarta. v0.28-100-g2d6466f

Git Repo Owner noreply at mythtv.org
Mon Dec 5 10:46:22 UTC 2016


The branch, fixes/0.28 has been updated on the
mythtv repository by gitolite user stuarta.
       via  2d6466f1aa08c29531f27edd61963d5180186a96 (commit)
      from  128e29782fa3f397bb7b54d260be4b85606bcdeb (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 2d6466f1aa08c29531f27edd61963d5180186a96
Author:    Bradley Baetz <bbaetz at gmail.com> at Mon, 5 Dec 2016 10:40:40 +0000
Committer: Stuart Auchterlonie <stuarta at mythtv.org> at Mon, 5 Dec 2016 10:42:37 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2d6466f1aa08c29531f27edd61963d5180186a96

Fixes #12754 - Fix deadlock in libcec initialization.
Configuring the TV at startup is done from the main thread. However, when the
TV state changes as a result of this, libCEC sends a message to the callback
handler on its own thread, which tries to get the UI lock to reset the
screensaver state. This results in a deadlock because the main thread already
has the UI lock during startup time.

Instead, run the initial setup activity at the start of the CEC handler thread.

This was missed in the patch applied for #11986.

Signed-off-by: Stuart Auchterlonie <stuarta at mythtv.org>
(cherry picked from commit 22ff48d7bafc622246141094b727dab47662bc3f)



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

Summary of changes:
 mythtv/libs/libmythui/cecadapter.cpp |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

-- 



More information about the mythtv-commits mailing list