[mythtv-commits] Ticket #3280: Add IsMasterBackend and BackendIsRunning functions to mythcontext
MythTV
mythtv at cvs.mythtv.org
Thu Aug 16 08:08:15 UTC 2007
#3280: Add IsMasterBackend and BackendIsRunning functions to mythcontext
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: stuartm
Type: patch | Status: reopened
Priority: minor | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-----------------------+----------------------------------------------------
Comment(by stuartm):
I agree with Matthew about the usefulness of IsMasterBackend() even when
the calling process is not a backend, which is why I committed it, but I
can also see the that the naming might be confusing.
IsBackend() is true only if the process is a backend, IsMasterBackend() is
true if we are on the same machine as the backend. Clearly we need to
rename the current function (IsMasterMachine?) so that it doesn't appear
related to IsBackend() and then we add a new IsMasterBackend() that is
only true for the backend process.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3280#comment:7>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list