[mythtv-commits] Ticket #7731: Delay file deletion in mythtranscode
MythTV
mythtv at cvs.mythtv.org
Mon Feb 1 03:49:39 UTC 2010
#7731: Delay file deletion in mythtranscode
------------------------------------+---------------------------------------
Reporter: stichnot@… | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythtranscode | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------
Comment(by cpinkham):
(In [23415]) Fix a regression in the JobQueue from [21369]. During the
QMap key
conversion from chanid+starttime to jobID, the JobQueue lost the
ability to check for another job running for the same recording
and multiple jobs could be running at the same time for a given
recording. This patch fixes this regression so that multiple
jobs for a given recording are run serially instead of in parallel.
Also add a locking in some places around reads of the runningJobs QMap.
These haven't been there since the beginning of the JobQueue, but we
need to protect our reads to make sure we're not reading while the
QMap is being updated in another thread.
References #7731 since the regression above was mentioned in this ticket.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7731#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list