Expand description
Useful synchronization primitives.
Modules§
- atomic
- Atomic types
Structs§
- Arc
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
- Condvar
- A Condition Variable
- Weak
Weak
is a version ofArc
that holds a non-owning reference to the managed allocation.- Exclusive
Experimental Exclusive
provides only mutable access, also referred to as exclusive access to the underlying value. It provides no immutable, or shared access to the underlying value.