Module sync

Module sync 

Source

Modules§

atomic
Atomic types

Structs§

Arcstd
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
LazyLock
A value which is initialized on the first access.
Mutex
A shimmed Mutex with an API mutual to spin and std.
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.
Weakstd
Weak is a version of Arc that holds a non-owning reference to the managed allocation.