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

The ocular and objective lenses are found at the top and bottom of what part of a microscope?
which property you used.64+58=                    +64
What is the series equivalent of two 1000 W resistors in series?
What is the GCF of 80x3 and 30yx2??? (The 3and2 are exponets)
three consecutive even integers have a sum of 168. what's the value of the largest integer?
What is two thirds of 120?
2h/3-1/4=1/3 solve and show your steps
what is a post hoc fallacy?
In 1940 What was Germany’s initial strategy for conquering Britain?
three consecutive even integers have a sum of 168. what's the value of the largest integer?