[mythtv-firehose] mythtv branch master updated by beirdo. v0.26-pre-755-g9d3bc8d

Git Repo Owner noreply at mythtv.org
Mon Jul 2 17:23:34 UTC 2012


The branch, master has been updated on the
mythtv repository by gitolite user beirdo.
       via  9d3bc8dcf0018092019b27e0d99156b7df6e017f (commit)
      from  dda4a4fa747b8323ba677f876dd75ea619073035 (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 9d3bc8dcf0018092019b27e0d99156b7df6e017f
Author:    Gavin Hurlbut <ghurlbut at mythtv.org> at Mon, 2 Jul 2012 10:21:16 -0700
Committer: Gavin Hurlbut <ghurlbut at mythtv.org> at Mon, 2 Jul 2012 10:21:16 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9d3bc8dcf0018092019b27e0d99156b7df6e017f

Move the queue locking to a much smaller scope in LogPrintLine
We don't need to lock the queue to create the items, but only when handling
the queue.  This should make future debugging of potential deadlocks simpler,
and also make logging slightly faster in the case that two threads are trying
to "simultaneously" log something.  The only thing that needs to be serialized
is the access to the queue itself.  The rest can be in parallel.



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

Summary of changes:
 mythtv/libs/libmythbase/logging.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 



More information about the mythtv-firehose mailing list