pub fn register_child_hook(flag: Arc<AtomicBool>)
Expand description

Register the SIGCHLD signal handler. Once the signal is received, the flag will be set true. User needs to manually clear the flag.