摘要:
CountDownLatch 简介原理 CountDownLatch是由队列同步器实现的。 在构建新的CountDownLatch对象时,需要传入一个大于0的整形int参数。而这个参数就作为队列同步器的state同步状态了。 public CountDownLatch(int count) { if 阅读全文
posted @ 2020-04-22 11:48
lyjlyjlyj
阅读(180)
评论(0)
推荐(0)

浙公网安备 33010602011771号