[mythtv-commits] Ticket #3280: Add IsMasterBackend and BackendIsRunning functions to mythcontext

MythTV mythtv at cvs.mythtv.org
Thu Aug 16 16:20:04 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 gdragon at jetcom.org):

 Replying to [comment:7 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.

 Agreed. There needs to be two functions. My ticket #3270 depends on the
 IsMasterBackend true for master host && backend process.  Depending on the
 outcome of this ticket, there may be some changes needed there.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3280#comment:8>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list