[fpc-devel] FCL Thread-safety
Marco van de Voort
marcov at stack.nl
Wed Jan 27 09:17:34 CET 2010
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.
More information about the fpc-devel
mailing list