[][src]Module yaar_lock::sync

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 Definitions

Mutexfeature="os"

A WordLock backed by OsThreadEvent.

MutexGuardfeature="os"

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.

ResetEventfeature="os"

A WordEvent backed by OsThreadEvent for thread blocking.