A how many unique processes are created why b how many


Consider the following code segment:

pid t pid;

pid = fork();

if (pid == 0) { /* child process */

fork();

thread create( . . .);

}

fork();

a. How many unique processes are created? Why?

b. How many unique threads are created? Why?

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: A how many unique processes are created why b how many
Reference No:- TGS02788816

Now Priced at $10 (50% Discount)

Recommended (94%)

Rated (4.6/5)