Content deleted Content added
m Corrected typo in external link description |
JorgePeixoto (talk | contribs) If the variable is between mutex locks, volatile is not necessary |
||
Line 1:
In [[computer programming]], a [[variable]] or object declared with the '''volatile''' [[keyword (computer programming)|keyword]] may be modified externally from the declaring object. For example, a variable that might be concurrently modified by multiple [[thread (computer science)|thread]]s
==What can happen if volatile is not used?==
|