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

Tim bought nine new baseball trading cards to add to his collection. The next day his dog ate half of his collection. there are now only forty-three cards left.
What is the only condition that a work must meet in order to be protected by copyright?.
What is the length of the hypotenuse of the triangle when x=11​? The length of the hypotenuse is about
PLEASE HELP ME ON THIS QUESTION! THANK UU :))) Science and technology can be utilized to help with many of the problems facing the world today. For example, iss
Math help please!! Thanks in advance.
can monkeys eat pee when in well that has wet stuff in a zoo with harambe
Please help me with this please and thank you please actually help me please
what is 5.46 ÷ 0.25 (show ur work please..?)
Explain the connection between atoms and electricity
Zach worked 1,040 hours this year and made $9 per hour. How much money did he earn over the course of the year? $9,060 $9,360 $10,360 $12,660