[mythtv-commits] mythtv branch fixes/0.25 updated by stuartm. v0.25.2-27-g957c7e2

Git Repo Owner noreply at mythtv.org
Mon Oct 1 16:43:11 UTC 2012


The branch, fixes/0.25 has been updated on the
mythtv repository by gitolite user stuartm.
       via  957c7e20c8b9e2f2bb50a5fc826810c39689db4b (commit)
       via  eb52783e9f7ad232cbf4afb22dbc604898514e45 (commit)
      from  0817eb2a6d5663c5dce770105b8350688f09e97e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 957c7e20c8b9e2f2bb50a5fc826810c39689db4b
Author:    Daniel Thor Kristjansson <danielk at cuymedia.net> at Mon, 30 Jul 2012 15:40:10 -0400
Committer: Stuart Morgan <smorgan at mythtv.org> at Mon, 1 Oct 2012 17:42:24 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=957c7e20c8b9e2f2bb50a5fc826810c39689db4b

Refs #10948. Fully randomize EIT crawl start time.
The deadlocks we've been seeing here should be fixed now, but they
should have been rare to begin with due to randomization of the
EIT Scanning start time. But they were occurring at fairly high
frequency. It turns out we were not applying enough randomness when
there were multiple cards and we were also losing randomness after
the first recording on a tuner finished and we reset the clock.
(cherry picked from commit 0e5d159c6bc98ef29a7b6bb225b43492b45c37ac)



commit eb52783e9f7ad232cbf4afb22dbc604898514e45
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Fri, 3 Aug 2012 17:47:39 -0400
Committer: Stuart Morgan <smorgan at mythtv.org> at Mon, 1 Oct 2012 17:40:18 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=eb52783e9f7ad232cbf4afb22dbc604898514e45

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)



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/streamhandler.cpp |   13 ++++-------
 mythtv/libs/libmythtv/tv_rec.cpp        |   36 +++++++++++++++++++------------
 2 files changed, 27 insertions(+), 22 deletions(-)

-- 



More information about the mythtv-commits mailing list