Skip to main content

wait_for_exit_code_on_thread

Function wait_for_exit_code_on_thread 

Source
async fn wait_for_exit_code_on_thread(pid: Pid) -> i32
Expand description

Wait for a process to exit with a blocking wait on a thread of its own, without pidfds, see spawn_waitpid_thread.