()
| 11 | |
| 12 | impl CondPair { |
| 13 | fn new() -> Self { |
| 14 | Self { |
| 15 | lock: Mutex::new(false), |
| 16 | cvar: Condvar::new(), |
| 17 | } |
| 18 | } |
| 19 | fn wait(&self) { |
| 20 | let mut started = self.lock.lock().unwrap(); |
| 21 | println!("start waiting!"); |
nothing calls this directly
no outgoing calls
no test coverage detected