[mythtv-commits] mythtv commit: r19511 by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Dec 31 01:48:19 UTC 2008
Author: danielk
Date: 2008-12-31 01:48:19 +0000 (Wed, 31 Dec 2008)
New Revision: 19511
Changeset: http://cvs.mythtv.org/trac/changeset/19511
Modified:
trunk/mythtv/programs/mythbackend/mainserver.cpp
Log:
Fixes #5481. There is in fact no deadlock, whoever wrote this code was very careful to only issue wakes and waits so that a predicative/counter was not needed. However, there was a missing threadPoolCond.wakeXXX() call causing an uneccesary 10 ms delay in handling some requests, and just to avoid a small change mucking up the careful orchestration I've changed the wakeOne() calls to wakeAll() calls which are a little more robust (however they are NOT needed for the current code -- it's just to protect against possible changes in Qt customEvent() handling causing problems in the future.)
More information about the mythtv-commits
mailing list