Mailing List Archive

mythtv/new-logging commit: a10137280 by Gavin Hurlbut (Beirdo)
Author: Gavin Hurlbut <ghurlbut@mythtv.org>
Change Date: 2011-05-12T11:29:45-07:00
Push Date: 2011/05/12 11:32:01 -0700
Repository: mythtv
Branch: new-logging
New Revision: a10137280db5cb6e06870af46acf3f9f4e075bde
Changeset: https://github.com/MythTV/mythtv/commit/a10137280

Log:

Split the database logging off into another thread

To deal with logging to the database when the database is not available, I
have added a queue for use by the database logger, and given the database
logger its own thread. One complication of this approach is that a reference
counter had to be added to logging items so they can be cleanly deleted when
done logging.

Modified:

mythtv/libs/libmythbase/mythlogging.cpp
mythtv/libs/libmythbase/mythlogging.h

_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-firehose