[mythtv-commits] Ticket #5341: Slave backend connecting can cause the master to lock in QMutexLocker

MythTV mythtv at cvs.mythtv.org
Sun Jun 28 17:13:41 UTC 2009


#5341: Slave backend connecting can cause the master to lock in QMutexLocker
-----------------------------------------------------+----------------------
 Reporter:  Mark Buechler <Mark.Buechler at gmail.com>  |        Owner:  ijr           
     Type:  patch                                    |       Status:  infoneeded_new
 Priority:  minor                                    |    Milestone:  0.22          
Component:  mythtv                                   |      Version:  head          
 Severity:  medium                                   |   Resolution:                
  Mlocked:  0                                        |  
-----------------------------------------------------+----------------------
Changes (by gnome42):

  * status:  new => infoneeded_new
  * version:  0.21 => head
  * type:  defect => patch
  * milestone:  unknown => 0.22


Comment:

 Hi Mark,

 Does the attached patch also work for you? It does the tryLock() in
 GetNextLiveTVDir() instead.

 It has a little extra code/debugging in it for now, the final version
 would just immediately return from GetNextLiveTVDir() after one tryLock()
 attempt. This is a rare event and we already have to provide a fallback
 for GetNextLiveTVDir(), namely sgroup.FindNextDirMostFree(), so that
 simple fix should be ok.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5341#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list