线程间的通信的实现

多线程间如何通信?

(1)共享变量
(2)wait/notify机制
(3)Lock/Condition机制
(4)管道

原文地址:https://www.cnblogs.com/zyg-/p/9650565.html