Expand description
Synchronization primitives based on OS thread blocking
Structs§
- Word
Event - A word (
usize) sizedThreadEventimplementation. - Word
Lock lock_api::RawMuteximplementation of parking_lot’sWordLock.
Type Aliases§
- Mutex
os - A
WordLockbacked byOsThreadEvent. - Mutex
Guard os - A
RawMutexGuardforMutex. - RawMutex
- A mutual exclusion primitive useful for protecting shared data using
ThreadEventfor thread blocking. - RawMutex
Guard - An RAII implementation of a “scoped lock” of a
RawMutex. When this structure is dropped (falls out of scope), the lock will be unlocked. - Reset
Event os - A
WordEventbacked byOsThreadEventfor thread blocking.