[fpc-devel] FCL Thread-safety

Nikolai Zhubr zhubr at mail.ru
Wed Jan 27 08:36:53 CET 2010


27.01.2010 10:09, Burkhard Carstens:
> So using e.g. xmlcfg is thread-safe only, if fpc>  2.4.0 is used.
> About avl-tree: IIRC it *can* be used in a thread-safe manner, but by
> default, it is not thread-safe. So any component using avl-tree might
> not be thread-safe.
> There might be much more stuff like this, so I recommend to verify every
> components you intend to use.
Luckily, I will not use any xml stuff yet.
However, verifying all of the components that my program might (also 
implicitely) link to is quite a hard task... And it is very possible to 
make a mistake, thinking that the code is thread-safe while in fact it 
is not. Obviuosly this will lead to a total nightmare then. I was hoping 
someone can give an idea about thread-safety in FCL (other than xml) in 
general.

Thank you!

Nikolai
>




More information about the fpc-devel mailing list