volatile的修饰符有过什么实践

一种实践,用volatile修饰long或者double变量 ,使其能按原子类型来读写。

posted on 2017-05-20 10:43  辰_雨_  阅读(148)  评论(0编辑  收藏  举报

导航