Module barrier

Source
Expand description

A Barrier that provides wait_timeout.

This implementation mirrors that of the Rust standard library.

Structsยง

Barrier ๐Ÿ”’
A barrier enables multiple threads to synchronize the beginning of some computation.
BarrierState ๐Ÿ”’
BarrierWaitResult ๐Ÿ”’
A BarrierWaitResult is returned by Barrier::wait() when all threads in the Barrier have rendezvoused.