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

Paxil, prozac, and zoloft are examples of ________.
Why do you think colonists considered themselves British subjects rather than Americans?
Which requires health insurance specialists to differentiate among technical descriptions of similar procedures in the CPT coding manual? a. data entry b. verba
the equation for lactic acid fermentation
Convert 0.54. to a decimal In base 3​
Swahili began as a result of trade with which group of people? A. Dutch B. Arabs C. French
You are a game designer and are going to give a presentation to a group of high school students to try to get them interested in a career in the video game indu
You spin the spinner two times. If you get blue both times, you win $15. If you don't, you lose $2. How much money do you expect to win or lose if you play thi
Can Someone Explain? The Question Is In The Picture!​
Here is a description of what the viewer should see. Read it, and make a list - in order - of shots that would create this visually. You don't have to use all t