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

Question 4 help please!
PLEASE HELP ME!!!! :)
Tameko enjoys playing on her school's vollyball team. She enjoys the physic sctivity and is proud of earning a place on the team, but this year, her friends hav
Marla has $95.50 in her savings account. She deposits $5 every week. Her mother also deposits $20 into the account every time Marla washes the car. Her savings
What are the physics terms behind watching TV?
The volume of a cylinder is 628 cm^3. Find the radius of the base if the cylinder has a height of 8 cm. Round your answer to the nearest 0.1 cm.
What type of radioactive decay is shown in this equation?
Which describes radioactive decay of a substance?
Jason and his friend went to a restaurant for dinner. The food that they ordered cost $25. A 7% sales tax was applied to the total. After the sales tax was appl
According to the text, why is temple mount important to jews?