Mailing List Archive

mythtv/mythtv-rec2 commit: b18e50533 by Gavin Hurlbut (Beirdo)
Author: Gavin Hurlbut <ghurlbut@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

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