wolfcub3769 wolfcub3769
  • 16-03-2020
  • Computers and Technology
contestada

7. Consider the following code segment: (10pts) pid t pid; pid = fork(); if (pid == 0) { /* child process */ fork(); thread create( . . .); } fork(); (15pts) a.How many unique processes are created? b. How many unique threads are created?

Respuesta :

abdullahfarooqi
abdullahfarooqi abdullahfarooqi
  • 20-03-2020

Answer:

a) 6 processes

b) 2 threads

Explanation:

Answer Link

Otras preguntas

what number is 100,000,000 more than 5,438,724,022?
What is 9605.327 rounded to the nearest ten?
What factors shaped American imperialism?
Lila scores 15 points fewer than Bob, who scores 35 points. Carol scores half as many points as Lila. How many points does Carol score?
How do you write a word form for 4.293
To replace a number with another number that tells how many or joe much
How do you solve this problem 9a+10(6a-1)
what is 18 24ths as a fraction when simplifying to its lowest terms?
What kind of sentence is Merlin carried the baby to safety
value mart is having a back to school sale on pencils a pack of 30 sells for 7.97 whereas a 12 pack brand cost for 4.77 which is better to buy and please explai