[mythtv-firehose] mythtv/mythtv-rec2 commit: b18e50533 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Wed May 4 17:29:39 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-05-02T18:31:36-07:00
   Push Date:  2011/05/04 10:29:34 -0700
  Repository:  mythtv
      Branch:  mythtv-rec2
New Revision:  b18e50533d96fa64e5a5ff319a9fb7fb9009f12b
   Changeset:  https://github.com/MythTV/mythtv/commit/b18e50533

Log:

Fix a potential deadlock in AutoExpire

With danielk's changes that I merged in, he has us use Sleep() internally
almost exclusively.  However, Sleep() requires the instance_lock to be
pre-locked, and in this place, it wasn't.  This can cause problems.

Modified:

   mythtv/programs/mythbackend/autoexpire.cpp



More information about the mythtv-firehose mailing list