[mythtv-firehose] mythtv/master commit: aab13b393 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Mon Oct 10 04:05:09 UTC 2011

      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-10-09T20:59:21-07:00
   Push Date:  2011/10/09 21:04:55 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  aab13b3936b05188bdab02f9b7df029c79c1ff97
   Changeset:  https://github.com/MythTV/mythtv/commit/aab13b393


Fix dblogging deadlock during shutdown

Refs #10032.

If the program starts and exits while we are waiting for 100ms for the db to
be ready, we got into a deadlock due to a logging message being expedited while
the db queue is locked.  Message expediting only happens during shutdown.  The
way around this is to briefly unlock the queue while checking the database to
remove the possibility of deadlock.

An alternative fix would be to fix the delays to no longer use the conditional
waits, but that goes against the redesign goals that Daniel had earlier.



More information about the mythtv-firehose mailing list