MESSAGE
DATE | 2015-03-02 |
FROM | Ruben Safir
|
SUBJECT | Subject: [LIU Comp Sci] [ruben@mrbrklyn.com: fork problem]
|
From owner-learn-outgoing-at-mrbrklyn.com Mon Mar 2 18:33:21 2015 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix) id E44B5161309; Mon, 2 Mar 2015 18:33:20 -0500 (EST) Delivered-To: learn-outgoing-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 28) id 6DE5016130B; Mon, 2 Mar 2015 18:33:20 -0500 (EST) Delivered-To: learn-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mrbrklyn.com (Postfix) with ESMTP id 2487C161309 for ; Mon, 2 Mar 2015 18:33:15 -0500 (EST) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 6092C10553 for ; Mon, 2 Mar 2015 18:33:15 -0500 (EST) Received: by panix2.panix.com (Postfix, from userid 20529) id 4AD5733C79; Mon, 2 Mar 2015 18:33:15 -0500 (EST) Date: Mon, 2 Mar 2015 18:33:15 -0500 From: Ruben Safir To: learn-at-nylxs.com Subject: [LIU Comp Sci] [ruben-at-mrbrklyn.com: fork problem] Message-ID: <20150302233314.GA3482-at-panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: owner-learn-at-mrbrklyn.com Precedence: bulk Reply-To: learn-at-mrbrklyn.com
----- Forwarded message from Ruben Safir -----
Date: Mon, 2 Mar 2015 18:31:30 -0500 From: Ruben Safir To: Mohammed Ghriga Subject: fork problem User-Agent: Mutt/1.5.21 (2010-09-15)
I must be doing something wrong
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
#include #include #include #include #include
int main( int argc, char * argv[]){ pid_t pid; pid_t pid_ret; int i = 0; printf("\n___Before the While Loop where Loop is ==> %d__", i); while( i++ < 100){ puts("\nBefore the Fork in the Loop:"); printf( "Loop ==> %d \n", i); pid = fork(); printf("\nFork: This should print twice for every loop: %d", i);
if(pid < 0){ puts( "fork failed\n" ); return 1; } if(pid == 0) { puts("\n\nChildren of the world unite"); printf("Am Yisrael Chai! pid =>%d \n", pid); printf( "Loop in Child ==> %d \n", i); puts("BYE!!"); exit( EXIT_SUCCESS ); } if (pid > 0 ){ printf("\nIn the Parent => I'm waiting %d\n", pid ); printf( "Loop in Parent ==> %d \n", i); pid_ret = wait(NULL); puts("Done Waiting for Child"); printf("\nProcess that returned was ==> %d", pid_ret ); printf("\n*******************************\n" ); } } return 0; }
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 1 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 2 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 3 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 4 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 5 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 6 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 7 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 8 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 9 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 10 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 11 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11 In the Parent => I'm waiting 29304 Loop in Parent ==> 11 Done Waiting for Child
Process that returned was ==> 29304 *******************************
Before the Fork in the Loop: Loop ==> 12
Fork: This should print twice for every loop: 12
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 12 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11 In the Parent => I'm waiting 29304 Loop in Parent ==> 11 Done Waiting for Child
Process that returned was ==> 29304 *******************************
Before the Fork in the Loop: Loop ==> 12
Fork: This should print twice for every loop: 12 In the Parent => I'm waiting 29305 Loop in Parent ==> 12 Done Waiting for Child
Process that returned was ==> 29305 *******************************
Before the Fork in the Loop: Loop ==> 13
Fork: This should print twice for every loop: 13
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 13 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11 In the Parent => I'm waiting 29304 Loop in Parent ==> 11 Done Waiting for Child
Process that returned was ==> 29304 *******************************
Before the Fork in the Loop: Loop ==> 12
Fork: This should print twice for every loop: 12 In the Parent => I'm waiting 29305 Loop in Parent ==> 12 Done Waiting for Child
Process that returned was ==> 29305 *******************************
Before the Fork in the Loop: Loop ==> 13
Fork: This should print twice for every loop: 13 In the Parent => I'm waiting 29306 Loop in Parent ==> 13 Done Waiting for Child
Process that returned was ==> 29306 *******************************
Before the Fork in the Loop: Loop ==> 14
Fork: This should print twice for every loop: 14
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 14 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11 In the Parent => I'm waiting 29304 Loop in Parent ==> 11 Done Waiting for Child
Process that returned was ==> 29304 *******************************
Before the Fork in the Loop: Loop ==> 12
Fork: This should print twice for every loop: 12 In the Parent => I'm waiting 29305 Loop in Parent ==> 12 Done Waiting for Child
Process that returned was ==> 29305 *******************************
Before the Fork in the Loop: Loop ==> 13
Fork: This should print twice for every loop: 13 In the Parent => I'm waiting 29306 Loop in Parent ==> 13 Done Waiting for Child
Process that returned was ==> 29306 *******************************
Before the Fork in the Loop: Loop ==> 14
Fork: This should print twice for every loop: 14 In the Parent => I'm waiting 29307 Loop in Parent ==> 14 Done Waiting for Child
Process that returned was ==> 29307 *******************************
Before the Fork in the Loop: Loop ==> 15
Fork: This should print twice for every loop: 15
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 15 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11 In the Parent => I'm waiting 29304 Loop in Parent ==> 11 Done Waiting for Child
Process that returned was ==> 29304 *******************************
Before the Fork in the Loop: Loop ==> 12
Fork: This should print twice for every loop: 12 In the Parent => I'm waiting 29305 Loop in Parent ==> 12 Done Waiting for Child
Process that returned was ==> 29305 *******************************
Before the Fork in the Loop: Loop ==> 13
Fork: This should print twice for every loop: 13 In the Parent => I'm waiting 29306 Loop in Parent ==> 13 Done Waiting for Child
Process that returned was ==> 29306 *******************************
Before the Fork in the Loop: Loop ==> 14
Fork: This should print twice for every loop: 14 In the Parent => I'm waiting 29307 Loop in Parent ==> 14 Done Waiting for Child
Process that returned was ==> 29307 *******************************
Before the Fork in the Loop: Loop ==> 15
Fork: This should print twice for every loop: 15 In the Parent => I'm waiting 29308 Loop in Parent ==> 15 Done Waiting for Child
Process that returned was ==> 29308 *******************************
Before the Fork in the Loop: Loop ==> 16
Fork: This should print twice for every loop: 16
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 16 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11 In the Parent => I'm waiting 29304 Loop in Parent ==> 11 Done Waiting for Child
Process that returned was ==> 29304 *******************************
Before the Fork in the Loop: Loop ==> 12
Fork: This should print twice for every loop: 12 In the Parent => I'm waiting 29305 Loop in Parent ==> 12 Done Waiting for Child
Process that returned was ==> 29305 *******************************
Before the Fork in the Loop: Loop ==> 13
Fork: This should print twice for every loop: 13 In the Parent => I'm waiting 29306 Loop in Parent ==> 13 Done Waiting for Child
Process that returned was ==> 29306 *******************************
Before the Fork in the Loop: Loop ==> 14
Fork: This should print twice for every loop: 14 In the Parent => I'm waiting 29307 Loop in Parent ==> 14 Done Waiting for Child
Process that returned was ==> 29307 *******************************
Before the Fork in the Loop: Loop ==> 15
Fork: This should print twice for every loop: 15 In the Parent => I'm waiting 29308 Loop in Parent ==> 15 Done Waiting for Child
Process that returned was ==> 29308 *******************************
Before the Fork in the Loop: Loop ==> 16
Fork: This should print twice for every loop: 16 In the Parent => I'm waiting 29309 Loop in Parent ==> 16 Done Waiting for Child
Process that returned was ==> 29309 *******************************
Before the Fork in the Loop: Loop ==> 17
Fork: This should print twice for every loop: 17
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 17 BYE!!
___Before the While Loop where Loop is ==> 0__ Before the Fork in the Loop: Loop ==> 1
Fork: This should print twice for every loop: 1 In the Parent => I'm waiting 29294 Loop in Parent ==> 1 Done Waiting for Child
Process that returned was ==> 29294 *******************************
Before the Fork in the Loop: Loop ==> 2
Fork: This should print twice for every loop: 2 In the Parent => I'm waiting 29295 Loop in Parent ==> 2 Done Waiting for Child
Process that returned was ==> 29295 *******************************
Before the Fork in the Loop: Loop ==> 3
Fork: This should print twice for every loop: 3 In the Parent => I'm waiting 29296 Loop in Parent ==> 3 Done Waiting for Child
Process that returned was ==> 29296 *******************************
Before the Fork in the Loop: Loop ==> 4
Fork: This should print twice for every loop: 4 In the Parent => I'm waiting 29297 Loop in Parent ==> 4 Done Waiting for Child
Process that returned was ==> 29297 *******************************
Before the Fork in the Loop: Loop ==> 5
Fork: This should print twice for every loop: 5 In the Parent => I'm waiting 29298 Loop in Parent ==> 5 Done Waiting for Child
Process that returned was ==> 29298 *******************************
Before the Fork in the Loop: Loop ==> 6
Fork: This should print twice for every loop: 6 In the Parent => I'm waiting 29299 Loop in Parent ==> 6 Done Waiting for Child
Process that returned was ==> 29299 *******************************
Before the Fork in the Loop: Loop ==> 7
Fork: This should print twice for every loop: 7 In the Parent => I'm waiting 29300 Loop in Parent ==> 7 Done Waiting for Child
Process that returned was ==> 29300 *******************************
Before the Fork in the Loop: Loop ==> 8
Fork: This should print twice for every loop: 8 In the Parent => I'm waiting 29301 Loop in Parent ==> 8 Done Waiting for Child
Process that returned was ==> 29301 *******************************
Before the Fork in the Loop: Loop ==> 9
Fork: This should print twice for every loop: 9 In the Parent => I'm waiting 29302 Loop in Parent ==> 9 Done Waiting for Child
Process that returned was ==> 29302 *******************************
Before the Fork in the Loop: Loop ==> 10
Fork: This should print twice for every loop: 10 In the Parent => I'm waiting 29303 Loop in Parent ==> 10 Done Waiting for Child
Process that returned was ==> 29303 *******************************
Before the Fork in the Loop: Loop ==> 11
Fork: This should print twice for every loop: 11 In the Parent => I'm waiting 29304 Loop in Parent ==> 11 Done Waiting for Child
Process that returned was ==> 29304 *******************************
Before the Fork in the Loop: Loop ==> 12
Fork: This should print twice for every loop: 12 In the Parent => I'm waiting 29305 Loop in Parent ==> 12 Done Waiting for Child
Process that returned was ==> 29305 *******************************
Before the Fork in the Loop: Loop ==> 13
Fork: This should print twice for every loop: 13 In the Parent => I'm waiting 29306 Loop in Parent ==> 13 Done Waiting for Child
Process that returned was ==> 29306 *******************************
Before the Fork in the Loop: Loop ==> 14
Fork: This should print twice for every loop: 14 In the Parent => I'm waiting 29307 Loop in Parent ==> 14 Done Waiting for Child
Process that returned was ==> 29307 *******************************
Before the Fork in the Loop: Loop ==> 15
Fork: This should print twice for every loop: 15 In the Parent => I'm waiting 29308 Loop in Parent ==> 15 Done Waiting for Child
Process that returned was ==> 29308 *******************************
Before the Fork in the Loop: Loop ==> 16
Fork: This should print twice for every loop: 16 In the Parent => I'm waiting 29309 Loop in Parent ==> 16 Done Waiting for Child
Process that returned was ==> 29309 *******************************
Before the Fork in the Loop: Loop ==> 17
Fork: This should print twice for every loop: 17 In the Parent => I'm waiting 29310 Loop in Parent ==> 17 Done Waiting for Child
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 18 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 19 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 20 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 21 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 22 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 23 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23 In the Parent => I'm waiting 29316 Loop in Parent ==> 23 Done Waiting for Child
Process that returned was ==> 29316 *******************************
Before the Fork in the Loop: Loop ==> 24
Fork: This should print twice for every loop: 24
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 24 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23 In the Parent => I'm waiting 29316 Loop in Parent ==> 23 Done Waiting for Child
Process that returned was ==> 29316 *******************************
Before the Fork in the Loop: Loop ==> 24
Fork: This should print twice for every loop: 24 In the Parent => I'm waiting 29317 Loop in Parent ==> 24 Done Waiting for Child
Process that returned was ==> 29317 *******************************
Before the Fork in the Loop: Loop ==> 25
Fork: This should print twice for every loop: 25
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 25 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23 In the Parent => I'm waiting 29316 Loop in Parent ==> 23 Done Waiting for Child
Process that returned was ==> 29316 *******************************
Before the Fork in the Loop: Loop ==> 24
Fork: This should print twice for every loop: 24 In the Parent => I'm waiting 29317 Loop in Parent ==> 24 Done Waiting for Child
Process that returned was ==> 29317 *******************************
Before the Fork in the Loop: Loop ==> 25
Fork: This should print twice for every loop: 25 In the Parent => I'm waiting 29318 Loop in Parent ==> 25 Done Waiting for Child
Process that returned was ==> 29318 *******************************
Before the Fork in the Loop: Loop ==> 26
Fork: This should print twice for every loop: 26
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 26 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23 In the Parent => I'm waiting 29316 Loop in Parent ==> 23 Done Waiting for Child
Process that returned was ==> 29316 *******************************
Before the Fork in the Loop: Loop ==> 24
Fork: This should print twice for every loop: 24 In the Parent => I'm waiting 29317 Loop in Parent ==> 24 Done Waiting for Child
Process that returned was ==> 29317 *******************************
Before the Fork in the Loop: Loop ==> 25
Fork: This should print twice for every loop: 25 In the Parent => I'm waiting 29318 Loop in Parent ==> 25 Done Waiting for Child
Process that returned was ==> 29318 *******************************
Before the Fork in the Loop: Loop ==> 26
Fork: This should print twice for every loop: 26 In the Parent => I'm waiting 29319 Loop in Parent ==> 26 Done Waiting for Child
Process that returned was ==> 29319 *******************************
Before the Fork in the Loop: Loop ==> 27
Fork: This should print twice for every loop: 27
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 27 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23 In the Parent => I'm waiting 29316 Loop in Parent ==> 23 Done Waiting for Child
Process that returned was ==> 29316 *******************************
Before the Fork in the Loop: Loop ==> 24
Fork: This should print twice for every loop: 24 In the Parent => I'm waiting 29317 Loop in Parent ==> 24 Done Waiting for Child
Process that returned was ==> 29317 *******************************
Before the Fork in the Loop: Loop ==> 25
Fork: This should print twice for every loop: 25 In the Parent => I'm waiting 29318 Loop in Parent ==> 25 Done Waiting for Child
Process that returned was ==> 29318 *******************************
Before the Fork in the Loop: Loop ==> 26
Fork: This should print twice for every loop: 26 In the Parent => I'm waiting 29319 Loop in Parent ==> 26 Done Waiting for Child
Process that returned was ==> 29319 *******************************
Before the Fork in the Loop: Loop ==> 27
Fork: This should print twice for every loop: 27 In the Parent => I'm waiting 29320 Loop in Parent ==> 27 Done Waiting for Child
Process that returned was ==> 29320 *******************************
Before the Fork in the Loop: Loop ==> 28
Fork: This should print twice for every loop: 28
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 28 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23 In the Parent => I'm waiting 29316 Loop in Parent ==> 23 Done Waiting for Child
Process that returned was ==> 29316 *******************************
Before the Fork in the Loop: Loop ==> 24
Fork: This should print twice for every loop: 24 In the Parent => I'm waiting 29317 Loop in Parent ==> 24 Done Waiting for Child
Process that returned was ==> 29317 *******************************
Before the Fork in the Loop: Loop ==> 25
Fork: This should print twice for every loop: 25 In the Parent => I'm waiting 29318 Loop in Parent ==> 25 Done Waiting for Child
Process that returned was ==> 29318 *******************************
Before the Fork in the Loop: Loop ==> 26
Fork: This should print twice for every loop: 26 In the Parent => I'm waiting 29319 Loop in Parent ==> 26 Done Waiting for Child
Process that returned was ==> 29319 *******************************
Before the Fork in the Loop: Loop ==> 27
Fork: This should print twice for every loop: 27 In the Parent => I'm waiting 29320 Loop in Parent ==> 27 Done Waiting for Child
Process that returned was ==> 29320 *******************************
Before the Fork in the Loop: Loop ==> 28
Fork: This should print twice for every loop: 28 In the Parent => I'm waiting 29321 Loop in Parent ==> 28 Done Waiting for Child
Process that returned was ==> 29321 *******************************
Before the Fork in the Loop: Loop ==> 29
Fork: This should print twice for every loop: 29
Children of the world unite Am Yisrael Chai! pid =>0 Loop in Child ==> 29 BYE!! ld
Process that returned was ==> 29310 *******************************
Before the Fork in the Loop: Loop ==> 18
Fork: This should print twice for every loop: 18 In the Parent => I'm waiting 29311 Loop in Parent ==> 18 Done Waiting for Child
Process that returned was ==> 29311 *******************************
Before the Fork in the Loop: Loop ==> 19
Fork: This should print twice for every loop: 19 In the Parent => I'm waiting 29312 Loop in Parent ==> 19 Done Waiting for Child
Process that returned was ==> 29312 *******************************
Before the Fork in the Loop: Loop ==> 20
Fork: This should print twice for every loop: 20 In the Parent => I'm waiting 29313 Loop in Parent ==> 20 Done Waiting for Child
Process that returned was ==> 29313 *******************************
Before the Fork in the Loop: Loop ==> 21
Fork: This should print twice for every loop: 21 In the Parent => I'm waiting 29314 Loop in Parent ==> 21 Done Waiting for Child
Process that returned was ==> 29314 *******************************
Before the Fork in the Loop: Loop ==> 22
Fork: This should print twice for every loop: 22 In the Parent => I'm waiting 29315 Loop in Parent ==> 22 Done Waiting for Child
Process that returned was ==> 29315 *******************************
Before the Fork in the Loop: Loop ==> 23
Fork: This should print twice for every loop: 23 In the Parent => I'm waiting 29316 Loop in Parent ==> 23 Done Waiting for Child
Process that returned was ==> 29316 *******************************
Before the Fork in the Loop: Loop ==> 24
Fork: This should print twice for every loop: 24 In the Parent => I'm waiting 29317 Loop in Parent ==> 24 Done Waiting for Child
Process that returned was ==> 29317 *******************************
Before the Fork in the Loop: Loop ==> 25
Fork: This should print twice for every loop: 25 In the Parent => I'm waiting 29318 Loop in Parent ==> 25 Done Waiting for Child
Process that returned was ==> 29318 *******************************
Before the Fork in the Loop: Loop ==> 26
Fork: This should print twice for every loop: 26 In the Parent => I'm waiting 29319 Loop in Parent ==> 26 Done Waiting for Child
Process that returned was ==> 29319 *******************************
Before the Fork in the Loop: Loop ==> 27
Fork: This should print twice for every loop: 27 In the Parent => I'm waiting 29320 Loop in Parent ==> 27 Done Waiting for Child
Process that returned was ==> 29320 *******************************
Before the Fork in the Loop: Loop ==> 28
|
|