(&self)
| 25 | println!("end waiting"); |
| 26 | } |
| 27 | fn notify(&self) { |
| 28 | let mut started = self.lock.lock().unwrap(); |
| 29 | println!("start notifying!"); |
| 30 | *started = true; |
| 31 | self.cvar.notify_one(); |
| 32 | println!("end notifying!"); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | let condvar1 = Arc::new(CondPair::new()); |
no outgoing calls
no test coverage detected