Module sync
Source - thread
- Native threads.
- AtomicBool
- A boolean type which can be safely shared between threads.
- AtomicI64
- An integer type which can be safely shared between threads.
- AtomicU8
- An integer type which can be safely shared between threads.
- AtomicU64
- An integer type which can be safely shared between threads.
- AtomicUsize
- An integer type which can be safely shared between threads.
- 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.
- RwLock
- A reader-writer lock