[fpc-devel] FCL Thread-safety
joshyfun at gmail.com
Wed Jan 27 11:59:24 CET 2010
Wednesday, January 27, 2010, 8:36:53 AM, you wrote:
NZ> Luckily, I will not use any xml stuff yet.
NZ> However, verifying all of the components that my program might (also
NZ> implicitely) link to is quite a hard task... And it is very possible to
NZ> make a mistake, thinking that the code is thread-safe while in fact it
NZ> is not. Obviuosly this will lead to a total nightmare then. I was hoping
NZ> someone can give an idea about thread-safety in FCL (other than xml) in
Which is the meaning of "Thread Safe" for you ? Same object in two
threads or same object instance in two threads ?
For the second one, most objects are NOT thread safe, but for the
first one most objects are thread safe as far as I know.
More information about the fpc-devel