|
|
|
|
|
by wilun
3000 days ago
|
|
Yes on Unix it can be interesting, if needing fork/exec to spawn children, to pre spawn an helper child process that will do just that. But that would just be because the fork/exec model is insane: with a posix_spawn (or CreateProcess) centric approach, you don't have to add that extra layer, and you have very few drawbacks. Also, that will not help you when trying to use libraries that attempt to spawn on their own. As for init being small, I leave you the responsibility of your words, now that we live in a systemd world :p |
|