[mythtv-commits] Ticket #10970: Mythbackend failed recordings, deadlocks

MythTV noreply at mythtv.org
Mon Oct 1 16:43:15 UTC 2012

#10970: Mythbackend failed recordings, deadlocks
 Reporter:  Peter Townsend           |          Owner:  Daniel Kristjansson
  <elpinkus@…>                       |  <danielk@…>
     Type:  Bug Report - General     |         Status:  closed
 Priority:  minor                    |      Milestone:  0.26
Component:  MythTV - General         |        Version:  Master Head
 Severity:  medium                   |     Resolution:  fixed
 Keywords:                           |  Ticket locked:  0

Comment (by Daniel Kristjansson <danielk@…>):

 In [changeset:eb52783e9f7ad232cbf4afb22dbc604898514e45/mythtv]:
 #!CommitTicketReference repository="mythtv"
 Fixes #10970. Fix StreamHandler restart race.

 We wait for _running to be set to false, but we need the thread to be
 in the finish state or QThread::start() will exit silently without
 starting the thread. Since we're calling QThread::wait() we don't
 really need the while (_running) loop at all in either Start() or
 Stop(), so I've removed it. This race probably dates back to the
 pthread->QThread porting.
 (cherry picked from commit 7d01e691d2bb58ed7dcbbdcca93ec06dc3a7381b)

Ticket URL: <http://code.mythtv.org/trac/ticket/10970#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list