| raw.rs |
Raw, unsafe reader-writer locking implementation,
doesn't depend on the data protected by the lock.
[`RwLock`](super::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`](super::RwLockReadGuard) covariant in `T`. |
17645 |
- |