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 sentence correctly uses a colon? .
What percent of 600 is 3 3/4? Enter your percent as a fraction in simplest form by filling in the boxes.
2. At what type of college do students earn a bachelor's degree?
Find the inverse function in slope-intercept form (mx+b): f(x)=-x+12
Why did many americans object to the alien and sedition acts?.
Calculate m ABC and m CBD, what is the value of x?
Find the equation of a line that passes through the point (-3,-1) and has a gradient of 1/2. Leave your answer in the form y=mx+c
What is the scientific name for a common house cat? Catus largus Felis catus Cavia porcellus
Which of these is an opinion about the Inca empire? A. It was the largest in the Western Hemisphere. B. It ended at the hands of Spanish conquistadors. C. Like
What is setswana full description​