1.a volatile substance; a substance that changes readily from solid or liquid to a vapor;
it was heated to evaporate the volatiles
2.evaporating readily at normal temperatures and pressures;
volatile oils
3.liable to lead to sudden change or violence;
an explosive issue
4.marked by erratic changeableness in affections or attachments;
fickle friends
5.tending to vary often or widely;
volatile stocks
就象大家更熟悉的const一樣,volatile是一個類型修飾符(type specifier)。它是被設計用來修飾被不同線程訪問和修改的變量。如果沒有volatile,基本上會導致這樣的結果:要么無法編寫多線程程序,要么