摘要: 一、实现生产者消费者模型 1.使用sychronized和wait notify实现 public static void main(String[] args) throws InterruptedException { AtomicInteger a=new AtomicInteger(5);/ 阅读全文
posted @ 2021-03-31 10:28 枫叶像思念 阅读(163) 评论(0) 推荐(0) 编辑