On Tue, Jun 28, 2011 at 6:14 AM, Michael Schnell <mschn...@lumino.de> wrote:
> For variables not defined as volatile, (e.g.) pthread_mutex (and similar > stuff on Windows) can be used to protect them. > A mutex may be able to atomically block access because of its own memory barrier, but I would suggest that employing such a technique on multi-core systems will not ensure an accurate value. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel