[fpc-devel] volatile variables

Michael Schnell mschnell at lumino.de
Thu Jun 30 10:42:25 CEST 2011

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 ?


More information about the fpc-devel mailing list