Object.wait() Object.notify() Object.notifyAll()使用总结
1. 文档解释/** * Wakes up a single thread that is waiting on this object's * monitor. If any threads are waiting on this object, one of them * is chosen to be awakened. The choice is arbitrary and occ...
原创
2020-02-17 16:23:43 ·
248 阅读 ·
0 评论