pub fn wait(&self) -> nix::Result<WaitStatus> {
		let ret = Self::wait_(self.pid);
		if let (Ok(_), Some(owns)) = (ret, &self.owns) {
			owns.state.store(2, Ordering::Relaxed);
		}
		ret
	}
/// Signal the child process
// TODO: catch multiple waiters
Signal the child process
TODO: catch multiple waiters
Signal the child process TODO : catch multiple waiters
pub fn wait(&self) -> nix::Result<WaitStatus> {
		let ret = Self::wait_(self.pid);
		if let (Ok(_), Some(owns)) = (ret, &self.owns) {
			owns.state.store(2, Ordering::Relaxed);
		}
		ret
	}
pub fn wait ( & self ) -> nix :: Result < WaitStatus > { let ret = Self :: wait_ ( self . pid ) ; if let ( Ok ( _ ) , Some ( owns ) ) = ( ret , & self . owns ) { owns . state . store ( 2 , Ordering :: Relaxed ) ; } ret }
Signal the child process
TODO: catch multiple waiters
Signal the child process TODO : catch multiple waiters
&self
&self