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

Cherries cost $5 for two pounds and $7.50 for 3 pounds. a. What is the cost per pound? b. Is it constant? c. If you were to graph this situation, would you put
what is the sum of 200 divided 20
When do we use la le and les in french
A chemical reaction in which two elements or radicals change places with two other elements or radicals is a _______ reaction. A. double replacement B. combin
How do you turn 0.93 as a fraction in simplest form and how do you show the work
Birds have a keen sense of _____ and rely on this sense the most.
a.) write an equation in slope intercept form for the total cost of any number of tickets at 7 tickets for $5. b.) Write an equation in slope-intercept form for
Ho do you explain why 21/30 is greater than 2/3?
America is referred to as a social experiment what do you think that phrase means
Simplify 12(6b+2). 96b 72b+24 18b+14 2b+6