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

Why does BROMINE have a smaller atomic radius then SCANDRUM
barium + aluminum nitrate​
How large was the object that collided with Earth to form our moon?
What three statements are characteristic of the Renaissance?
Which statement best describes the relationship of photosynthesis and energy? The process of photosynthesis is energy-storing because the process converts light
Trent needs a total of $320 to buy a new bicycle. He has $35 saved. He earns $15 each week delivering newspapers. How many weeks will Trent have to deliver pape
EXPLAIN Why does passing electricity through a metal filament cause it to become so hot that it will emit heat and visible light?
what is effective annual yield?
Here is a list of numbers: 47, 22, 22, 13, 77, 8, 18 ,100 ,70 ,4 Calculate the range.
If 12.5 grams of strontium hydroxide is reacted with 150 mL of 3.5 M carbonic acid, identify the limiting reactant.