Searched refs:wait_while (Results 1 – 3 of 3) sorted by relevance
37 pub fn wait_while(&self, condition: impl FnMut(&mut T) -> bool) -> LockResult<MutexGuard<T>> { in wait_while() method38 self.cv.wait_while(self.state.lock()?, condition) in wait_while()
207 self.state.wait_while(|state| state.death_reason.is_none()).unwrap().death_reason.unwrap() in wait_for_death()
226 .wait_while(self.state.lock().unwrap(), |state| state.display_service.is_none()) in waitDisplayService()