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,基本上会导致这样的结果:要么无法编写多线程程序,要么