摘要: 1.三个多线程可能引起的问题 package other; public class UnSafeTicker implements Runnable { private int ticket=10; boolean flag=true; @Override public void run() { 阅读全文
posted @ 2021-02-06 23:47 飞翔的阿飞 阅读(57) 评论(0) 推荐(0)