Structsยง
- Exclusive ๐
- RawRw
Lock ๐ - RwLock
- A high-level primitive that provides safe, mutable access to a shared resource.
- RwLock
Read Guard - An RAII implementation of a โscoped shared lockโ for a
RwLock. When this structure is dropped, the lock will be released. The resource protected by theRwLockcan be accessed via theDerefimplementation of this structure. - RwLock
Write Guard - An RAII implementation of a โscoped exclusive lockโ for a
RwLock. When this structure is dropped, the lock will be released. The resource protected by theRwLockcan be accessed via theDerefandDerefMutimplementations of this structure. - Shared ๐
Constantsยง
- DESIGNATED_
WAKER ๐ - HAS_
WAITERS ๐ - LOCKED ๐
- LONG_
WAIT ๐ - LONG_
WAIT_ ๐THRESHOLD - READ_
LOCK ๐ - READ_
MASK ๐ - SPINLOCK ๐
- SPIN_
THRESHOLD ๐ - WRITER_
WAITING ๐
Traitsยง
- Kind ๐
Functionsยง
- cancel_
waiter ๐ - cpu_
relax ๐ - get_
wake_ ๐list