[fpc-devel] FCL Thread-safety
Burkhard Carstens
fpc at bcsoft.de
Wed Jan 27 09:45:22 CET 2010
Am Mittwoch, 27. Januar 2010 09:17 schrieb Marco van de Voort:
> In our previous episode, Burkhard Carstens said:
> > > (implemented as TThread descendants if it matters) with no
> > > syncronization/serialization whatsoever. Can I be sure that such
> > > components will not interfere each other implicitely (somewhere
> > > deep inside the FCL)?
> >
> > No, you can't be sure. E.g. the fcl-xml stuff in latest released
> > fpc-2.4.0 is *not* thread-safe, because it uses avl-tree which is
> > not thread-safe. See http://mantis.freepascal.org/view.php?id=12984
> > and note: This bug is marked as "fixed in 2.4.0" which is (partly)
> > wrong.
>
> Avltree is fixed in 2.4.0 (you can set an own manager), and that is
> what the report is about (see title: "Patch : thread safe/non-safe
> avl_tree implementation" )
>
> XML is not fixed.
Right, that's why I wrote "(partly) wrong" .. relation to xml was the
main point in that bug report and your final note "Solved now DOM no
longer depends on avltree." together with "fixed in 2.4.0" might give
the impression, XML is fixed in 2.4.0 ..
regards
Burkhard
More information about the fpc-devel
mailing list