[mythtv] [mythtv-commits] mythtv commit: r8568 by danielk

Isaac Richards ijr at case.edu
Wed Jan 11 18:27:10 UTC 2006


On Wednesday 11 January 2006 13:23, Daniel Kristjansson wrote:
> On Wed, 2006-01-11 at 13:03 -0500, Isaac Richards wrote:
> > On Wednesday 11 January 2006 12:59, mythtv at cvs.mythtv.org wrote:
> > > We also use a static regular expression which means we don't rely on
> > > the Qt regular expression cache to avoid recompiling the matching
> > > tables, this Qt feature appears to be broken or missing in the MacOSX
> > > Qt implementation.
> >
> > Not threadsafe, and there _could_ be more than one TV object at the same
> > time.
>
> QRegExp is reentrant so it should be perfectly safe across multiple TV
> objects. But you're right about the thread safety with-in an instance,
> if the same QRegExp is called on the same string it can get flummoxed.
> Will fix.

In older versions (3.2 and earlier, IIRC) of Qt, it is _not_ reentrant.

Isaac


More information about the mythtv-dev mailing list