Searched refs:SharedChild (Results 1 – 3 of 3) sorted by relevance
75 pub struct SharedChild { struct87 impl SharedChild { argument89 pub fn spawn(command: &mut Command) -> io::Result<SharedChild> { in spawn() argument91 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()[all …]
11 impl SharedChildExt for super::SharedChild { implementation33 use crate::SharedChild;38 let child = SharedChild::spawn(&mut sleep_forever_cmd()).unwrap(); in test_send_signal()
38 use shared_child::SharedChild;46 let shared_child = SharedChild::spawn(&mut command).unwrap();