title: Real Life Examples For CountDownLatch and CyclicBarrier
body: <p>One example is given by one of our trainers when he was explaining difference between CountDownLatch and CyclicBarrier.</p>
  
  <p><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CountDownLatch.html"><code>CountDownLatch</code></a>: Suppose a stone can be lifted by 10 people so you will wait for all 10 to come. Then only you can lift the stone.</p>
  
  <p><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CyclicBarrier.html"><code>CyclicBarrier</code></a>: If you are going to a picnic, and you need to first meet at some common point from where you all will start your journey.</p>
  
  <p>If Anybody agrees with these comments please give me some details.</p>
  
  <p>I have already read the sun API for both these classes. But I need some more explaination.</p>