[fpc-devel] embedded arm port
Michael Schnell
mschnell at lumino.de
Tue Sep 15 10:48:44 CEST 2009
octal at pocketmt.com wrote:
> C offers the "volatile" attribute ...
I never found an issue when using static public variables for
synchronizing threads (while avoiding "atomic" problems). So seemingly
FPC (and Delphi) handles all non-local variables as volatile. (While C
usually optimizes them using temporary local variables if appropriate.)
C can do local (Stack?) volatile variables. This does not seem to make
much sense.
-Michael
More information about the fpc-devel
mailing list