Module ksched::sync[][src]

Expand description

Synchronization primitives.

Re-exports

pub use super::mpsc;

Structs

Condvar

A Condition Variable

Mutex

An async mutex.

MutexGuard

A guard that releases the mutex when dropped.

RwLock

An async reader-writer lock.

RwLockReadGuard

A guard that releases the read lock when dropped.

RwLockUpgradableReadGuard

A guard that releases the upgradable read lock when dropped.

RwLockWriteGuard

A guard that releases the write lock when dropped.

Type Definitions

Spinlock

A lock that provides mutually exclusive data access (compatible with lock_api).

SpinlockGuard

A guard that provides mutable data access (compatible with lock_api).