oconnor663 / shared_child.rs

a wrapper around std::process::Child that lets multiple threads wait or kill at once
MIT License
39 stars 7 forks source link

add a test to make sure waitid doesn't hang on zombies #3

Closed oconnor663 closed 7 years ago

oconnor663 commented 7 years ago

https://bugs.python.org/issue10812#msg167016 mentions a potentially serious problem:

// We're disabling usage of waitid in Mac OS X because it doens't work for us:
// a parent process hangs on waiting while a child process is already a zombie.
// See http://code.google.com/p/v8/issues/detail?id=401.
oconnor663 commented 7 years ago

https://github.com/oconnor663/shared_child.rs/commit/06ce7e73b7077ab58935198ad76230d18ab60688