Volatile (computer programming): Difference between revisions

Content deleted Content added
m ce
No edit summary
Line 1:
{{Short description|Keyword used in some programming languages to tag variables}}
{{Lowercase title}}
In [[computer programming]], a [[ValueVariable (computer science)|valuevariable]] is said to be '''''volatile''''' if itits [[Value (computer science)|value]] can be read or modified asynchronously by something other than the current [[thread (computing)|thread of execution]].
The value of a <code>volatile</code> variable may spontaneously change for reasons such as:
sharing values with other threads;