[Lazarus] thread safe

Andrew Brunner andrew.t.brunner at gmail.com
Tue Jun 28 15:00:22 CEST 2011

On Tue, Jun 28, 2011 at 8:00 AM, Michael Schnell <mschnell at lumino.de> wrote:
> As said before besides all this complicated stuff the critical variable
> needs to be handled as volatile by the compiler (not caching it in a
> register while opening or closing the critical section). I have no Idea how
> this can be enforced in FPC.
You are wrong.  There is no complicated stuff.  Just use interlocked
assignments for high performance computing :-)

More information about the Lazarus mailing list