Module mu

Source

Structsยง

Exclusive ๐Ÿ”’
RawRwLock ๐Ÿ”’
RwLock
A high-level primitive that provides safe, mutable access to a shared resource.
RwLockReadGuard
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 the RwLock can be accessed via the Deref implementation of this structure.
RwLockWriteGuard
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 the RwLock can be accessed via the Deref and DerefMut implementations 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 ๐Ÿ”’