Learn Concurrency by Making a Countdown Latch in Ruby

A Countdown Latch is a concurrency abstraction that allows one or more threads to wait until all other threads are done with what they are doing. Therefore, a countdown latch is often referred to as a thread synchronization primitive. How are Countdown Latches Useful? Let say you have a bunch of threads that are fetching, […]

Continue reading %Learn Concurrency by Making a Countdown Latch in Ruby%


Source: Sitepoint