[mythtv-commits] mythtv branch master updated by stuarta. v29-pre-229-g22ff48d

Git Repo Owner noreply at mythtv.org
Mon Dec 5 10:41:38 UTC 2016


The branch, master has been updated on the
mythtv repository by gitolite user stuarta.
       via  22ff48d7bafc622246141094b727dab47662bc3f (commit)
      from  07c59e7d962c9e046c0960ae42d2a1d38d5508b3 (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 22ff48d7bafc622246141094b727dab47662bc3f
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:40:40 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=22ff48d7bafc622246141094b727dab47662bc3f

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>



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

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

-- 



More information about the mythtv-commits mailing list