摘要: P150-lock 锁 那一节 public class ThreadExtend extends Thread { static int ticket = 0; static Lock lock = new ReentrantLock(); public void run() { while (t 阅读全文
posted @ 2023-10-04 13:18 七分sunshine! 阅读(1) 评论(0) 推荐(0) 编辑