Volatile variables are variables that may change value while they are being operated upon. For instance, a hardware clock is constantly updated by the operating system, thus its value is constantly changing. If you refer to the value, you must declare it volatile because the value is outwith the control of the program.
In C, C++, and Java, the keyword "volatile" instructs the Java Virtual Machine (VM) not to assume that the value of a variable in memory isn't changing, even during code that isn't apparently changing the value of the variable. This prevents certain optimizations from happening (for example, using a register to temporarily replace the variable).
The volatile attribute for a data type tells the compiler that the data could be modified by some other process outside of the compiler's knowledge. This forces the compiler to reload the data from memory at each sequence point, rather than depending on a temporary copy that might be kept in a register. This degrades optimization, but is essential if the data is shared by some other thread or hardware construct.
It tells the compiler that (a hardware) register is subject to change. volatile is used with pointer (AFAIK) and tells the compiler not to optimize and to check at the place where the pointer points, every time around a loop. Unless you are programming software to directly access hardware, you do not need volatile.
What does Volatile mean: A volatile liquid evaporates faster because of it's low boiling point.
Volatile liquids may be ethers, alcohols, ketones etc.
volatile int means the code and fom outside from code can changes the value but in const volatile int, code cannot changes the value but fron ouside can change the value
In Java, you use the final modifier to prevent a class from having any subclasses.
The modifier either means whichever, while etheris a volatile liquid, or a non-earthly realm.
Warns the compiler that the value of the variable in question can be changed asynchronously, so it never optimize it into register.
It tells the compiler that (a hardware) register is subject to change. volatile is used with pointer (AFAIK) and tells the compiler not to optimize and to check at the place where the pointer points, every time around a loop. Unless you are programming software to directly access hardware, you do not need volatile.
An awkward modifier is a modifier that interrupts the flow of the sentence. =] A modifier that interrupts the flow of the sentence
RAM is a volatile Memory. But ROM is not volatile.
volatile will evaporate
DRAM is volatile.
volatile will evaporate
APEX A limiting modifier is a modifier that limits the meaning of another word in the sentence
modifier -51
Non-volatile
DRAM is a volatile memory