Module spin::lock_api [−][src]
This is supported on crate feature
lock_api
only.Spin synchronisation primitives, but compatible with lock_api
.
Type Definitions
Mutex | mutex A lock that provides mutually exclusive data access (compatible with |
MutexGuard | mutex A guard that provides mutable data access (compatible with |
RwLock | rwlock A lock that provides data access to either one writer or many readers (compatible with |
RwLockReadGuard | rwlock A guard that provides immutable data access (compatible with |
RwLockUpgradableReadGuard | rwlock A guard that provides immutable data access but can be upgraded to |
RwLockWriteGuard | rwlock A guard that provides mutable data access (compatible with |