3 ms·
why do we really need zombies? isn't this just a question of making sure that the exit status is available if any one cares? and ultimately thats a separable is
by convolvatron 2y ago
why do we really need zombies? isn't this just a question of making sure that the exit status is available if any one cares? and ultimately thats a separable issue from whether or not the death of a process forces the death of others.
imagine instead of wait, processes just went away, and we have..lets say a pipe that contains the single byte exit. have we lost anything important?
- Joker_vD 2y agoCongratulations, you've basically reinvented pidfd. But notice that the Sixth Edition didn't yet have "select", so they had to invent a separate, non-fd kind of entity to track the processes and a separate syscall to both check the process status and to free the tracking entity.