让线程可以读取到最新的值。
volatile的作用(java内存模型)
猜你喜欢
转载自blog.csdn.net/liulang68/article/details/114811743
今日推荐
周排行