Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Java CountDownLatch

CountDownLatch IntroductionCountDownLatch is a synchronization object that allows a thread to wait till certain events occur in other threads. We can make the current thread to wait until few dependent threads have completed their operation. CountDownLatch starts with a initial count. Thread that needs to wait, blocks until the count reaches to zero. Dependent threads on completing their task



This post first appeared on Programming Tutorials By SourceTricks, please read the originial post: here

Share the post

Java CountDownLatch

×

Subscribe to Programming Tutorials By Sourcetricks

Get updates delivered right to your inbox!

Thank you for your subscription

×