wait和notify的理解與使用

1.對於wait()和notify()的理解java 對於wait()和notify()的理解,仍是要從jdk官方文檔中開始,在Object類方法中有:web void notify() Wakes up a single thread that is waiting on this object’s monitor. 譯:喚醒在此對象監視器上等待的單個線程多線程 void notifyAll()
相關文章
相關標籤/搜索