On Tue, Jun 28, 2011 at 8:00 AM, Michael Schnell <mschn...@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 :-)
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus