CountDownLatches

CountDownLatches.CountDownLatchType
CountDownLatch(count::I) where {I<:Integer}

A CountDownLatch that starts at some initial non-negative count. This latch can be counted down and waited on.

source
CountDownLatches.count_downMethod
count_down(latch::CountDownLatch)

Counts down the latch once. This may cause the count to become negative. Any tasks that were blocked in await will be woken if the count becomes <= 0.

source