Expand description
Raw, unsafe reader-writer locking implementation,
doesnโt depend on the data protected by the lock.
RwLock is implemented in terms of this.
Splitting the implementation this way allows instantiating
the locking code only once, and also lets us make
RwLockReadGuard covariant in T.
Structsยง
- RawRead ๐
- The future returned by
RawRwLock::read. - RawRw
Lock ๐ - A โrawโ RwLock that doesnโt hold any data.
- RawUpgradable
Read ๐ - The future returned by
RawRwLock::upgradable_read. - RawUpgrade ๐
- The future returned by
RawRwLock::upgrade. - RawWrite ๐
- The future returned by
RawRwLock::write.
Enumsยง
- Write
State ๐
Constantsยง
- ONE_
READER ๐ - WRITER_
BIT ๐