michealafolorun2334 michealafolorun2334
  • 02-10-2017
  • Biology
contestada

Does peterson's solution to the mutual-exclusion problem shown in fig. 2-24 work when process scheduling is preemptive

Respuesta :

W0lf93
W0lf93 W0lf93
  • 13-10-2017
Yes. Not only does Peterson's Solution work with preemptive scheduling, but it was designed for that very case. In fact, when scheduling is non-preemptive, there is a possibility it might fail. For example, in a case where 'turn' is initially 0, but process 1 runs first, it will loop perpetually, and never release the CPU.
Answer Link

Otras preguntas

represent the number 1.16 using base ten blocks
Use the information to find the length of CD in parallelogram ABCD. The perimeter is 92 cm. AD is 7 cm more than twice AB. (Hint: Sketch the diagram.)
what is 3\13 times 143 equal
What is -9*c^.5? Can you please help!! I am so lost!!!
Brody added a fraction to 5/6 to get 31/30. Use the equation a/b + c/d = (ad +bc)/ bd to find the fraction he added
two sisters, jenny and penny, play on the same basketball team. last season they scored a combined total of 458 points. jenny scored 192 of the points. write an
How to make a mixed fraction
Cheryl has some oranges. She puts the oranges into p boxes of 3 oranges each and has 2 oranges left. Find the total number of oranges Cheryl has in terms of
how is aluminium foil able to reduce heat loss through the walls of a house
1.How would you describe a person that wants to help his family ? 2. How would you describe a person that is hopeful?