[mythtv] [mythtv-commits] mythtv commit: r16233 by danielk
mark.buechler at gmail.com
Sun Feb 24 20:34:11 UTC 2008
On Sun, Feb 24, 2008 at 10:52 AM, <mythtv at cvs.mythtv.org> wrote:
> Author: danielk
> Date: 2008-02-24 15:52:35 +0000 (Sun, 24 Feb 2008)
> New Revision: 16233
> Changeset: http://cvs.mythtv.org/trac/changeset/16233
> Fix to allow MythEvent with extradata to be used safely.
> MythEvent was making a safe copy of the message but not the extradata
> before using a copy in another thread. This fixes that problem and also
> moves some of the implementation from the mythevent.h to mythevent.cpp.
> This also makes sure that if you use the int constructor message and
> extradata are explicitly initialized in the constructor, and that the
> ExtraData(int) method does not segfault on a bad index value.
> NOTE: MythEvent itself is still not threadsafe nor reenterant, but it is
> now safe to create a MythEvent or the strings used to initialize it in a
> thread other than the Qt thread (and then use it in any one thread at a
> Unfortunately this requires a binary revision bump, so plugins will have
> to be recompiled, I also recommend a 'make distclean' for mythtv itself.
> Daniel, this still segfaults when switching tuners. Can you confirm?
> mythtv-commits mailing list
> mythtv-commits at mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-dev