[mythtv-commits] mythtv commit: r24310 - in trunk/mythtv/libs by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Apr 30 00:58:49 UTC 2010
Author: cpinkham
Date: 2010-04-30 00:58:49 +0000 (Fri, 30 Apr 2010)
New Revision: 24310
Changeset: http://svn.mythtv.org/trac/changeset/24310
Modified:
trunk/mythtv/libs/libmythdb/mythversion.h
trunk/mythtv/libs/libmythui/mythmainwindow.cpp
trunk/mythtv/libs/libmythui/mythmainwindow.h
trunk/mythtv/libs/libmythui/mythsystem.cpp
Log:
Add a helper method so that we can check whether we are in the UI thread or
not. We don't want to block LIRC, the joystick, or drawing when called
outside the UI thread so use this helper to check to see if we are in the
UIthread. Disabling drawing from the UI thread can also cause segfaults
as indicated in #8194 and #8391.
References #8194 and #8391.
This fix is only temporary in trunk. I have a different version in a
local checkout that will be committed later as part of a patch to move
parts of MythContext to libmythdb where they can be utilized by
myth_system() and the rest of libmythui.
This does update the API version, so make clean, etc..
More information about the mythtv-commits
mailing list