[fpc-devel] volatile variables

Michael Schnell mschnell at lumino.de
Tue Jun 28 15:59:42 CEST 2011


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



More information about the fpc-devel mailing list