Question: Draw a process tree for each of the following program segment: a. int i; for (i = 0; i < 5; i++) if (fork()==0) break;
Draw a process tree for each of the following program segment:
a. int i;
for (i = 0; i < 5; i++)
if (fork()==0) break;
b. int i;
for (i = 0; i < 5; i++)
if (fork()!=0) break;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
