Module sync

Source
Expand description

Synchronization primitives based on OS thread blocking

Structs§

WordEvent
A word (usize) sized ThreadEvent implementation.
WordLock
lock_api::RawMutex implementation of parking_lot’s WordLock.

Type Aliases§

Mutexos
A WordLock backed by OsThreadEvent.
MutexGuardos
A RawMutexGuard for Mutex.
RawMutex
A mutual exclusion primitive useful for protecting shared data using ThreadEvent for thread blocking.
RawMutexGuard
An RAII implementation of a “scoped lock” of a RawMutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
ResetEventos
A WordEvent backed by OsThreadEvent for thread blocking.