Expand description
A module for custom locks. Lock wrappers for debug checks and deadlock prevention.
Traits§
- Into
Shared - Wraps this value in an
Arc<SyncMutex<>>
Functions§
- shared
- Wraps
valuein the standard shared lock handle.
Type Aliases§
- Async
Mutex - An asynchronous mutex.
- Async
RwLock - An asynchronous read-write lock.
- Shared
- A value shared across threads behind the crate’s standard lock.
- Sync
Mutex - A synchronous mutex.
- Sync
RwLock - A synchronous read-write lock.