Available on crate feature
lock_api only.Expand description
Spin synchronisation primitives, but compatible with lock_api.
Type Aliases§
- Mutex
mutexA lock that provides mutually exclusive data access (compatible withlock_api). - MutexGuard
mutexA guard that provides mutable data access (compatible withlock_api). - RwLock
rwlockA lock that provides data access to either one writer or many readers (compatible withlock_api). - RwLockReadGuard
rwlockA guard that provides immutable data access (compatible withlock_api). - A guard that provides immutable data access but can be upgraded to
RwLockWriteGuard(compatible withlock_api). - RwLockWriteGuard
rwlockA guard that provides mutable data access (compatible withlock_api).