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

3.7 times 9.4 show work
First, think about what you would like to be doing twenty years hence. Then, find out what education you must have to achieve this goal.a.Fragmentb.Run-onc.Corr
Oxygen is released as a waste product by plants during the process of _______. Animals takes in this oxygen and releases it as _______ during the process of ___
How do you work out 8 something 2 something 1 =24 ?
what foods are good for skin and hair, and what vitamins do they have in them???please answer this, need the answer URGENTLY!!!
In what ways is the Holy Land an important site for all three monotheistic faiths?
the region of flat land down by the ocean
Calculate how much work you need to move the 130 N trunk to a ledge 2 m above.
Why is the ability to adjust conclusions when necessary important to critical thinking?
Which energy types are renewable?