John,

I have a question about that. Normally access to integer values is
atomic, and you do not need to thread protect them when accessing. Was
this size value a 32 bit integer value?

Or are you compiling on a different hardware platform than x86?

Thanks,

Joel

On Thu, Dec 24, 2009 at 6:49 AM, John vd Waeter <[email protected]> wrote:
> Ok, solved.
> Did not realize in multithread environment one thread could read a variabele
> when other thread was just not finished filling this variabele....
>
> --
> _______________________________________________
> Lazarus mailing list
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to