On 06/28/2011 03:23 PM, Andrew Brunner wrote:
There is no problem no need for volatile variables.  Compare and Swap
or Interlocked mechanisms will solve any problems.
"volatile" is a directive to the compiler on how to handle a variable.

Variables that are not handled by the compiler but handled by non portable low level assembler functions of course are volatile on their own account.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to