Searched refs:total_waits (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/tokio/src/process/unix/ |
D | orphan.rs | 128 total_waits: Rc<Cell<usize>>, field 136 total_waits: Rc::new(Cell::new(0)), in new() 144 total_waits: Rc::new(Cell::new(0)), in with_err() 157 let waits = self.total_waits.get(); in try_wait() 169 self.total_waits.set(waits + 1); in try_wait() 181 let first_waits = first_orphan.total_waits.clone(); in drain_attempts_a_single_reap_of_all_queued_orphans() 182 let second_waits = second_orphan.total_waits.clone(); in drain_attempts_a_single_reap_of_all_queued_orphans() 183 let third_waits = third_orphan.total_waits.clone(); in drain_attempts_a_single_reap_of_all_queued_orphans() 184 let fourth_waits = fourth_orphan.total_waits.clone(); in drain_attempts_a_single_reap_of_all_queued_orphans()
|
D | reap.rs | 146 total_waits: usize, field 155 total_waits: 0, in new() 168 let ret = if self.num_wait_until_status == self.total_waits { in try_wait() 174 self.total_waits += 1; in try_wait() 226 assert_eq!(1, grim.total_waits); in reaper() 234 assert_eq!(3, grim.total_waits); in reaper() 247 assert_eq!(4, grim.total_waits); in reaper() 283 assert_eq!(1, mock.total_waits); in drop_reaps_if_possible() 301 assert_eq!(1, mock.total_waits); in drop_enqueues_orphan_if_wait_fails()
|