(&self)
| 34 | } |
| 35 | |
| 36 | fn std_rwlock_read_1(&self) { |
| 37 | match *self.rw1.read().unwrap() { |
| 38 | 1 => { self.std_rwlock_write_2(); }, |
| 39 | _ => { self.std_rwlock_read_2(); }, |
| 40 | }; |
| 41 | } |
| 42 | |
| 43 | fn std_rwlock_write_1(&self) { |
| 44 | match *self.rw1.write().unwrap() { |
no test coverage detected