Nikolai Zhubr
Tue, 26 Jan 2010 23:33:11 -0800
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
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel