(&self)
| 100 | |
| 101 | #[inline] |
| 102 | fn lock_exclusive(&self) { |
| 103 | if !self.try_lock_exclusive() { |
| 104 | deadlock("exclusively ", "RwLock") |
| 105 | } |
| 106 | self.state.set(WRITER_BIT) |
| 107 | } |
| 108 | |
| 109 | #[inline] |
| 110 | fn try_lock_exclusive(&self) -> bool { |
nothing calls this directly
no test coverage detected