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

Help, I need answer for this, and I don’t understand
Sarah has to draw a shape that looks like a revolving circle for her class project in technical drawing. What should Sarah draw? A cylinder B. cone C. sphere D.
What is the main reason the untied states entered the war according to Wilson ?
HELPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1) W K V A) 20.8 C) 11 22.2 ? 11 U J T B) 16.6 D) 18
There are 110 students on a bus filled with 129 people. What is the ratio of students to teachers? i need help
Which of the following is considered the energy of movement? This is science, pls help.
I need help please and thank you
(14.01 MC) What outer covering do humans have, and what does it do? Skeleton, which protects them from weather conditions Skin, which provides support for the
Match each activity to the type of club where people engage in it. Drag the items on the left to the correct location on the right.