[Lazarus] lNet UDP and the send-function

IntelliAdmin Support joel.sundquist at intelliadmin.com
Thu Dec 24 13:21:10 CET 2009


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 <john at jvdw.nl> 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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list