5 ms·
If only there were some mechanism in Unix that could be used for transferring data. If only that mechanism could somehow record which processes were using the r
by to3m 10y ago
If only there were some mechanism in Unix that could be used for transferring data. If only that mechanism could somehow record which processes were using the resources in question! Then child processes could be integrated with that system somehow, such that their exit code (or other matters of interest) could be transferred through this conduit. And when all users of the resource had indicated they were no longer interested, the child process could be discarded - or, if still running, not then become a zombie when it finishes.
The current situation is suboptimal, I claim. But it's true that with no convenient standard abstraction for transferring data, we don't really have any other conceivable option.