Difference between CyclicBarrier and CountDownLatch in Java?

Compiled By Unknown - No Comments
Though both CyclicBarrier and CountDownLatch wait for number of threads on one or more events, main difference between them is that you can not re-use CountDownLatch once count reaches to zero, but you can reuse same CyclicBarrier even after barrier is broken.

Tags:

No Comment to " Difference between CyclicBarrier and CountDownLatch in Java? "