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

AP US History question: During the past four decades, historians consistently have rated Washington, Lincoln and Franklin D. Roosevelt as the greatest president
Which therapeutic cloning application is most likely a benefit to society
PLEASE HELP! ALSO EXPLAIN! The sales tax rate at a clothing store is 8.75%. Sales tax on an item is a function of its price. Which of the following is the depen
The measure of W is 134°, the measure of Y is 46°, and the measure of Z is 134°. What is the measure of X? a 40° b 46° c 134° d 90°
can u help if three times a number is increased by 4 the results is -8 . find the number
The Eighteenth Amendment, "Prohibition," was reversed by the _______ Amendment. A. Twenty-second B. Twenty-first C. Twentieth D. Nineteenth
What is the source of the oxygen released into the air as a product of photosynthesis?
reduce 15/24 what's the answer
is 3/12 simplified 1/4
is 3/12 simplified 1/4