oconnor663 / duct.rs

a Rust library for running child processes
MIT License
795 stars 34 forks source link

idea for killing grandchildren #81

Open oconnor663 opened 4 years ago

oconnor663 commented 4 years ago

What if we froze the child with SIGSTOP, then queried it's childen, then froze them with SIGSTOP, and so on recursively? Could we guarantee that nothing in the tree gets reaped, and then "atomically" kill everything?

How does this compare to "the freezer"?