[mythtv-commits] Ticket #10970: Mythbackend failed recordings, deadlocks
MythTV
noreply at mythtv.org
Fri Aug 3 21:50:18 UTC 2012
#10970: Mythbackend failed recordings, deadlocks
-------------------------------------+-------------------------------------
Reporter: Peter Townsend | Owner: Daniel Kristjansson
<elpinkus@…> | <danielk@…>
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Changes (by Daniel Kristjansson <danielk@…>):
* owner: => Daniel Kristjansson <danielk@…>
* status: infoneeded_new => closed
* resolution: => fixed
Comment:
In [changeset:7d01e691d2bb58ed7dcbbdcca93ec06dc3a7381b/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="7d01e691d2bb58ed7dcbbdcca93ec06dc3a7381b"
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.
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10970#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list