countDownlatch可以阻塞线程,可以在某种条件下继续执行
不安全的:
转:https://www.cnblogs.com/Michael2397/p/8686802.html