摘要: CountDownLatch线程阻塞 lock = new ReentrantLock();condition = lock.newCondition(); lock.lock();condition.await(); lock.lock();condition.signal();;收到信号后,放行 阅读全文
posted @ 2021-09-04 18:20 XUMT111 阅读(541) 评论(0) 推荐(0) 编辑