Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn
From: gwyn@brl-tgr.ARPA (Doug Gwyn )
Newsgroups: net.unix-wizards
Subject: Re: WAITing for specific process
Message-ID: <560@brl-tgr.ARPA>
Date: Thu, 8-Aug-85 20:19:20 EDT
Article-I.D.: brl-tgr.560
Posted: Thu Aug  8 20:19:20 1985
Date-Received: Sun, 11-Aug-85 07:14:34 EDT
References: <106@ihuxj.UUCP> <406@brl-tgr.ARPA> <2568@sun.uucp>
Distribution: net
Organization: Ballistic Research Lab
Lines: 11

> ...  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.