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

Why is RNA necessary to act as messenger?
A child is standing across the street from his apartment . His mother is on their balcony . The angle of elevation between the child's eyes and his mothers eyes
Trying to translate word problems. Five times the sum of 3 and twice some number is 70. what is the number?
.is a pot holder a conductor or a insulator
Trying to translate word problems. Five times the sum of 3 and twice some number is 70. what is the number?
What is a direct combination reaction?
What three islands are located off the East African coast
Trying to translate word problems. Five times the sum of 3 and twice some number is 70. what is the number?
What is two thirds minus six thirds
What three islands are located off the East African coast