VOLATILE attribute
Standard: F77 F90 F95 F2003
<Syntax>
type , VOLATILE [ , attr ]... :: decl-list

VOLATILE [ :: ] name [ , name ]...

<Semantics>
The VOLATILE attribute means that the variable may be changed, or referenced, by means other than Fortran. You should use this attribute when a variable can be referenced asynchronously (e.g. from a parallel thread). It effectively disables optimisation of the variable and forces all references and definitions to go through memory.
A variable that is accessed by a USE statement or by host association is permitted to be declared VOLATILE; this does not hide the variable, but makes it volatile only within the local procedure.
<Related>
Type Declaration statement