11 2018 档案
volatile的使用
摘要://资源(把 volatile去掉进行测试 )public class Demo { volatile int i =1;}//测试 public static void main(String[] args) throws InterruptedException { //一份资源 Demo de 阅读全文
posted @ 2018-11-02 16:43 主人翁 阅读(104) 评论(0) 推荐(0)