摘要: 1 public class VolatileThread implements Runnable { 2 3 private volatile int a = 0; 4 5 @Override 6 public void run() { 7 // synchronized (this){//② 8 阅读全文
posted @ 2020-05-11 18:54 寻尘向阳 阅读(201) 评论(0) 推荐(0) 编辑