Skip to main content

Module barrier

Module barrier 

Source

Re-exportsยง

use crate::fmt; ๐Ÿ”’
use crate::panic::RefUnwindSafe; ๐Ÿ”’
use crate::sync::nonpoison::Condvar; ๐Ÿ”’ Experimental
use crate::sync::nonpoison::Mutex; ๐Ÿ”’ Experimental

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.