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

I need help plz show steps
y=2x^2+16x+30 axis of symmetry​
does anyone live in Louisiana ?
Where does most new membrane synthesis take place in a eukaryotic cell?
Which best describes what happens when a person sees red leaf A. Human eyes reflect red light back to the leaf B. The leaf absorbs res light from human eyes
What are the top ten most abundant elements in the human body
In the diagram below O id circumscribed about quadrilateral ABCD. What is the value of x?
what helped make the content of Roosevelt's four freedom speech timeless and relevant to future generations
i don't understand this. my teacher wasn't at school and this was homework​
ANSWER A.S.A.P OFFING 50 POINTS Andrew Jackson's supporters replaced caucuses with a. selection meetings. c. delegate conventions. b. state conventions. d. nom