WAITing for specific process
Doug Gwyn <gwyn>
gwyn at brl-tgr.ARPA
Fri Aug 9 10:19:20 AEST 1985
> ... A list of terminated processes' statuses
> needs to be kept in the parent process, so that it can be examined by
> something like the "waitfor" proposed above. Switching to such a mechanism
> almost certainly precludes the standard use of wait(), SIGCHLD, etc. A
> layer on top of them is needed and everyone needs to be convinced to use
> only that layer (e.g. fread vs. read). ...
Yes, a very good idea. You still have to watch out for children
you may unknowingly have when started (as the last process in a
pipeline), but that should be no problem so long as it is taken
into account.
More information about the Comp.unix.wizards
mailing list