[fpc-devel] FCL Thread-safety

Nikolai Zhubr zhubr at mail.ru
Wed Jan 27 15:27:19 CET 2010


27.01.2010 13:59, JoshyFun пишет:
> Hello Nikolai,
>
> 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
> NZ>  general.
>
> Which is the meaning of "Thread Safe" for you ? Same object in two
> threads or same object instance in two threads ?
The first one. (I described my scenario a bit more specifically in my 
initial post of this thread)

Nikolai
>
> 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 mailing list