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

Solve for x. 4/5 = 7/x
How do O’Brien and Komunyakaa use structure to write war stories based on real life? Use evidence from the two texts in your answer.
Miss Cohan purchased a bottle of vitamins for $7.99 a bottle of aspirin for $6.49 and a bottle of mouthwash for $2.99 she gave the clerk two $10 bills how much
What factors helped spark the beginning of the great migration
What brought the plague to Catania?
General motors corporation and ford motor company frequently advertise that their cars beat the competition in price, durability, and warranties. this type of a
PLEASE HELP ME OUT RLLY NEED IT
Unpredicted stress or unexpected events over which we have no control can activate levels of a stress protein in the brain, known as _____. This is known to cau
write in standard form 40,000 + 4,000 + 400 + 40 + 4
The skills you have learned in your Public Speaking course help you to feel more confident and you finally muster the courage to start up a conversation with so