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

James has mapped his seat and his teacher's seat on the coordinate plane at (0,10) and (–4,6). Find the distance between their seats. A. 4√ 17 units
What type of powers does this quote from the constitution refer to? The congress shall have power to...Make all laws which shall be necessary
Witch property of exponents must be used first to solve the expression (xy^2)1/3
Simplify and determine the coefficient of (-2/3 x)(3y)(-2x). -4 1/3 1 4
What is the effect of hermione catching snapes cloak on fire during the quidditch match
help I don't know how to do geometry
If the baking soda had not been added, would there still have been a source of carbon dioxide being introduced into the water? Hint: what other process does a
why was gandhi an important leader in south asia?
Which branch of the government is most responsible for carrying out and enforcing laws
Dudo que él _____ el permiso para hacer el concierto. A. Pidas B. Pidan C. Pida D. Pidamos