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

Use the rules for long division to divide 262 by 9. A. 30 B. 29r1 C. 28 D. 29
Most historians point to _____ as the birthplace of modern theater.
Which of the following is an example of a concept album? a. the joshua tree b. nevermind c. tapestry d. songs for swingin' lovers
please help me name 5 each of producers, primary consumers (which eat only plants), and top predators (which eat only meat, or meat and plants).
What was a direct effect of the Emancipation Proclamation?
a good persuasive argument has at least _____ piece of evidence.
determine the range of the function in the table below. x f(x) 0 -4 2 2 4 8 {0, 2, 4} {-4, 2, 8} {(0, -4), (2, 2), (4, 8)} {(-4, 0), (2, 2), (8, 4)}
what does presence of mesosaurus fossils tell about the initial location and positioning of south america africa antarctica
What essential nutrient is found in meats and beans? a. carbohydrates b. protein c. fats d. vitamin c
106 percent of $__ is 7.95