latches-0.1.0 has been yanked.
An implementation collection of latches.
A latch is a downward counter which can be used to threads or asynchronize tasks. The value of the counter is initialized on creation.
In contrast to Barrier, it is a one-shot phenomenon, that mean the
counter will not be reset after reaching 0. Instead, it has the useful
property that it does not make them wait for the counter to reach 0 by
calling count_down() or arrive(). This also means that it can be
decremented by a participating thread/task more than once.