Lines Matching refs:SharedChild
75 pub struct SharedChild { struct
87 impl SharedChild { argument
89 pub fn spawn(command: &mut Command) -> io::Result<SharedChild> { in spawn() argument
91 Ok(SharedChild { in spawn()
229 use super::{sys, SharedChild};
263 let child = SharedChild::spawn(&mut true_cmd()).unwrap(); in test_wait()
273 let child = SharedChild::spawn(&mut sleep_forever_cmd()).unwrap(); in test_kill()
281 let child = SharedChild::spawn(&mut sleep_forever_cmd()).unwrap(); in test_try_wait()
297 let child = Arc::new(SharedChild::spawn(&mut sleep_forever_cmd()).unwrap()); in test_many_waiters()
323 let shared_child = SharedChild::spawn(&mut sleep_forever_cmd()).unwrap(); in test_into_inner_before_wait()
334 let shared_child = SharedChild::spawn(&mut sleep_forever_cmd()).unwrap(); in test_into_inner_after_wait()