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

What was the basis of the earliest explanations for the cause of abnormal behavior?
The Tigers football team gained 7 yards, lost 8 yards, and then lost 7 more yards. What is the total result of these three plays
What is the slope of a line that is perpendicular to the line 2x - 7y = -37 ?
Base your answer to the following question on the passage below and on your knowledge of social studies. ...A weary, exhausted, nerve-racked group of men it was
What is the value of m
define the term ecology​
What is the speed of a 1.0 × 103-kilogram car that has a momentum of 2.0 × 104 kilogram∙meters per second east?
What is the answer to my math question 8(1+4b)
Paula has 3 banannas. She wants to divide each of them into 1/6 sections. How many 1/6's are there in 3 banannas ? A. 1/2 B. 18C. 1/18 D. 2​
What was the purpose of Operation Torch? A. to regain control of North Africa B. to create a front in Western Europe C. to protect oil fields in the Soviet Unio