On 06/29/2011 09:44 PM, Vinzent Höfler wrote:
On Wed, 29 Jun 2011 13:28:20 +0200, Hans-Peter Diettrich
Ada2005 RM:
|C.6(16): For a volatile object all reads and updates of the object as
| a whole are performed directly to memory.
|C.6(20): The external effect [...] is defined to include each read and
| update of a volatile or atomic object. The implementation shall
| not generate any memory reads or updates of atomic or volatile
| objects other than those specified by the program.
That's Ada's definition of "volatile". C's definition is less
stronger, but
should basically have the same effect.
Nice and what is the FPC definition ?
Thanks,
-Michael
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel