JAVA中线程同步的方法

1、wait方法。

2、notify方法和notifyAll方法。
3、synchronized关键字。

国泰民安
原文地址:https://www.cnblogs.com/jirglt/p/2543339.html