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

(6z²+z-1)(9z-5) polynomial equation
Sandstone is a sedimentary rock. Which of the following characteristics would you look for in a piece of sandstone? A. Rock has sparkly or alternating color lay
if x2+2=6x is solved by completing the square, an intermediate step would be
Mark and Edina have saved $15,600 and make a combined pay of $8,754 each month. What is the maximum amount they can spend on a house (loan and savings combined)
Can someone help me with this? I'm not really sure what to say
A can of spaghetti has a diameter of 12 cm and a height of 16 cm. The can contains spherical meatballs, each with a radius of 3 cm, that take up 25% of the volu
pls help me on question 30 I don't know how to do it
Does anyone know (3/4) to the power of -2?
What kind of reaction happens when you mix Baking soda and vinegar? (In your own words)
what is Cayley graph?