Module sync

Module sync 

Source
Expand description

Synchronization primitive implementation.

Modules§

atomic 🔒
Atomic types
cell 🔒

Macros§

thread_local 🔒
Declare a new thread local storage key of type std::thread::LocalKey.

Structs§

Arc 🔒
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
Mutex 🔒
A mutual exclusion primitive useful for protecting shared data
MutexGuard 🔒
An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.

Traits§

WithMut 🔒