sync_primitives v0.2.0 API Reference

Modules

SyncPrimitives offers a variety of synchronization primitives, such as SyncPrimitives.CyclicBarrier, and SyncPrimitives.CountDownLatch.

A CountDownLatch expects count calls to count_down/2 before calls to await/2 can continue.

A CyclicBarrier expects a predefined number of parties to await/2 before all calls to await/2 can continue.