CountDownLatch、信号量

countDownlatch可以阻塞线程,可以在某种条件下继续执行

不安全的:

原文地址:https://www.cnblogs.com/Michael2397/p/8686802.html