pub fn new_barrier<T>() -> (Barrier<T>, BarrierOpener<T>)where
T: Clone,Expand description
The Barrier is something that can be opened once from one side, and is thereafter permanently closed. It can contain a value.
pub fn new_barrier<T>() -> (Barrier<T>, BarrierOpener<T>)where
T: Clone,The Barrier is something that can be opened once from one side, and is thereafter permanently closed. It can contain a value.