|
|
|
|
|
by burke
4375 days ago
|
|
We have an init process that runs inside docker containers, and we took a bit of a different route, in listening on SIGCHLD and then doing non-blocking Wait4(0,...) until there are no more children to reap: https://gist.github.com/burke/1c105378ac0629b39485 |
|
In any case, you are not calling Wait4(<specific PID>), which is what implies the thread per process.