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

Which statement describes a reason that Great Britain was the first country to industrialize? A. It had slave labor to work in the new factories. B.
what is the simple subject in the following sentence? The space shuttle service have made travel to the international space station convenient and possible. A.t
what is the difference between striking and protesting?
How did John D. Rockefeller vertically integrate his monopoly in 1882?
1. The ___ is like the framework of a house a.exposition b.rising action c.falling action d.plot
Do you know which component of the Star Wars movies is possible according to our current understanding of physics?
the chinese exclusion act of 1882 and the gentlemens agreement with japan in 1907 both illastrate
a high school has 1,500 students in a random sample of 50 students 32 own one or more pets. predict the number of students at the high school who own one or mor
antifreeze is mixed with water in a car's cooling system because the solution what?
what is the authors purpose to write book small bones