From owner-freebsd-hackers Wed Apr 7 17:49:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id E83EB15835 for ; Wed, 7 Apr 1999 17:49:17 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id RAA05193; Wed, 7 Apr 1999 17:47:06 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id RAA18759; Wed, 7 Apr 1999 17:47:05 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id RAA17480; Wed, 7 Apr 1999 17:47:04 -0700 (PDT) From: Don Lewis Message-Id: <199904080047.RAA17480@salsa.gv.tsc.tdk.com> Date: Wed, 7 Apr 1999 17:47:04 -0700 In-Reply-To: Simon Shapiro "wait4 - Proof I am stupid" (Apr 7, 8:32pm) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: shimon@simon-shapiro.org, freebsd-hackers@FreeBSD.ORG Subject: Re: wait4 - Proof I am stupid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Apr 7, 8:32pm, Simon Shapiro wrote: } Subject: wait4 - Proof I am stupid } /* } * So far, this code should (and does) fork a process. } * This process (child then changes its process group to something else } * than the parent and then forks 10 children. } * } * Now the parent wants to wait for the grandchidren... } */ I don't believe that it is possible to wait for processes other than immediate children. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message