[mythtv-commits] mythtv branch master updated by stuartm. v0.27-pre2-541-ga9246e9

Git Repo Owner noreply at mythtv.org
Sun Jan 20 22:04:05 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  a9246e95cffb116d29098787a9bf8ddca1fe1945 (commit)
      from  5a465bada7677d5aa26241422b53e15888591970 (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 a9246e95cffb116d29098787a9bf8ddca1fe1945
Author:    Richard <peper03 at yahoo.com> at Sun, 20 Jan 2013 21:39:16 +0000
Committer: Stuart Morgan <smorgan at mythtv.org> at Sun, 20 Jan 2013 21:39:16 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a9246e95cffb116d29098787a9bf8ddca1fe1945

Fix frontend not connecting to the master backend on startup
On a combined BE/FE system, the frontend does not always register with
the backend, which can lead to the backend shutting down due to the idle timer.

The BackendConnectionManager? usually ensures a connection to the
backend by querying the 'Master host prefix'. On a combined BE/FE
this prefix can be retrieved directly without having to communicate
with the backend and no connection is made.

The fix adds a thread-safe alternative to ConnectToMasterServer() and
avoids BackendConnectionManager() from exploiting a side-effect of
GetMasterHostPrefix()

Fixes #11238

Signed-off-by: Stuart Morgan <smorgan at mythtv.org>



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

Summary of changes:
 mythtv/libs/libmythbase/mythcorecontext.cpp        |   15 +++++++++++++++
 mythtv/libs/libmythbase/mythcorecontext.h          |    1 +
 .../mythfrontend/backendconnectionmanager.cpp      |    3 +--
 3 files changed, 17 insertions(+), 2 deletions(-)

-- 



More information about the mythtv-commits mailing list