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

Mis profesores exámenes difíciles.
A driver should allow at least how many inches between the driver's chest and the steeringwheel?
Practice Exercise 6.9 - Choose the correct Verb from the bracke 1) Neither the man nor the woman (know, knows) the rule. sucited​
How much will you pay per month if you buy a car worth $17499 at a 5.4% APR and spend 60 months paying off the loan
A child in a wagon of total mass 32 kg is traveling at 1 m/s at the top of a large hill. The child-wagon system coasts down the hill. At the bottom of the hill
Rewrite 7x 4 = x – 2 as a system.
An angle measures 164.8° less than the measure of its supplementary angle. What is the measure of each angle?
How do i Evaluate (5)(6+1-3)
A piece of lumber is 8 feet long. If 1.6 feet and 1.2 feet are cut off, how much is left?
What also affects spatial resolution or recorded detail? 1) Exposure 2) Contrast 3) Brightness 4) Magnification