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

What year did michael jackson perform at the super bowl?.
What are the answers? Find 4 1/5 x 7 2/3 = How much is 2/7 of 1 3/4? Estimate -12 4/9 x 5 7/8 Which expression below shows how to estimate an answer for 5 3/4 ÷
find the inverse of 5/9(F-32)?
A large box contains three small boxes and a pearl. The pearl is not in either of the small boxes. Each small box contains 5 pearls. How many pearls are in the
The difference between 2 supplementary angles is 121.54. What are the angle measures?
Why is nothing good enough for people I try to help trying to be nice and then they start to get picky about how I answer it IT HAS TO BE ABSOLUTELY PERFECT why
PLEASE HELP WITH THIS FOLLOWING!!
What is the power output of a pump which can raise 60kg of water height to height of 10m every minute
Match each word in the column on the left to the tone it conveys in the column on the right
hello please help with the following i've been up all night i need help(SHOW WORK): It took Alyssa and her family 11 hours to drive 462 miles. At this rate, how