Loading

摘要: LockSupport 用于创建锁和其他同步类的基本线程阻塞原语。 3中让线程等待和唤醒的方法 Object的wait()和notify() 必须在synchronized代码块里 notify()在wait()后面时,程序无法执行,无法唤醒 Condition的await()和sinal() 必须 阅读全文
posted @ 2022-07-24 17:03 改冩自己ζ 阅读(31) 评论(0) 推荐(0)