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 do object have high elevations have more potential energy than objects at low elevations
¿Qué no debe estar en la mesa? A. el tenedor B. el plato C. la sal D. el camarero
What happens to the Mississippi River water when it flows into the Gulf of Mexico?
What contributions has Janet Jackson made to society?
The beliefs of which ancient Egyptian are most similar to Abraham's beliefs? Akhenaten Imhotep Hatshepsut Tutankhamun
what is the gcf of 86,129,and 215
The sum of three consecutive odd numbers is 171. What is the smallest of the three numbers ?
I don't understand the physics work power and energy unit
what does 4 minus 2/4 equals
explain how you know that 7/12 is greater than 1/3 but less than 2/3