[][src]Module spin::lock_api

Spin synchronisation primitives, but compatible with lock_api.

Type Definitions

Mutex

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

MutexGuard

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

RwLock

A lock that provides data access to either one writer or many readers (compatible with lock_api).

RwLockReadGuard

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

RwLockUpgradableReadGuard

A guard that provides immutable data access but can be upgraded to RwLockWriteGuard (compatible with lock_api).

RwLockWriteGuard

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