[mythtv-firehose] mythtv branch master updated by beirdo. v0.26-pre-813-g31f09a8

Git Repo Owner noreply at mythtv.org
Sun Jul 8 05:28:41 UTC 2012


The branch, master has been updated on the
mythtv repository by gitolite user beirdo.
       via  31f09a84b2f2fe9e4be80f00e8737370bec28678 (commit)
       via  24da25f3f2be46f5b029c0d28a502f9cb0048cdc (commit)
       via  77d58af568e728891c6ff35f4c367c00fe870ac7 (commit)
      from  ac4e2d9e917939ced46b497da608127d0be03941 (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 31f09a84b2f2fe9e4be80f00e8737370bec28678
Author:    Gavin Hurlbut <ghurlbut at mythtv.org> at Sat, 7 Jul 2012 22:27:45 -0700
Committer: Gavin Hurlbut <ghurlbut at mythtv.org> at Sat, 7 Jul 2012 22:28:22 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=31f09a84b2f2fe9e4be80f00e8737370bec28678

Formatting changes.  Nothing to see here, move along.



commit 24da25f3f2be46f5b029c0d28a502f9cb0048cdc
Author:    Gavin Hurlbut <ghurlbut at mythtv.org> at Sat, 7 Jul 2012 22:21:19 -0700
Committer: Gavin Hurlbut <ghurlbut at mythtv.org> at Sat, 7 Jul 2012 22:28:22 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=24da25f3f2be46f5b029c0d28a502f9cb0048cdc

Convert the MythSystemPrivate classes to use RefCounters
We were getting some odd race conditions caused by the timing of deletion of
the MythSystemPrivate data (MythSystemUnix in particular on Linux and OSX).
As we now have a common ReferenceCounter class to use, I have converted this
over to use ReferenceCounter to control the deletion.  One reference is made
on creation, and a second when it is added to the process map.  The second
reference is decremented when the MythSystemSignalThread is done shutting it
down cleanly.

NOTE:  I may have missed some dependency on the parent item which may have
been deleted already.  If this happens, please let me know.  It would most
likely crash hard in this case.  I'll take another look over it in a bit.

Refs #10775.  Refs #10889.



commit 77d58af568e728891c6ff35f4c367c00fe870ac7
Author:    Gavin Hurlbut <ghurlbut at mythtv.org> at Sat, 7 Jul 2012 22:17:27 -0700
Committer: Gavin Hurlbut <ghurlbut at mythtv.org> at Sat, 7 Jul 2012 22:28:22 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=77d58af568e728891c6ff35f4c367c00fe870ac7

Make the mythsystem call to start mythlogserver wait(0)
This is a normal part of the use of MythSystem, and I missed it.  wait(0)
gives no delay, so it won't affect system timings or the like.



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

Summary of changes:
 mythtv/libs/libmythbase/logging.cpp        |    1 +
 mythtv/libs/libmythbase/mythsystem.cpp     |   10 +++++++-
 mythtv/libs/libmythbase/mythsystem.h       |    9 ++++++-
 mythtv/libs/libmythbase/system-unix.cpp    |   30 +++++++++++++--------------
 mythtv/libs/libmythbase/system-windows.cpp |   26 ++++++++++++------------
 5 files changed, 43 insertions(+), 33 deletions(-)

-- 



More information about the mythtv-firehose mailing list