阅读背景:

如何知道闩锁是否完成了它的任务

来源:互联网 

I have two threads with countDownLatch set to 1, so that, when the first threads finishes the second should starts. And what I want to do is, when the second finishes its task, I want to get the data computed from both threads to do some operations. set to 1




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: