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 is 12 percent of 32?
To make 112 dozen muffins, a recipe uses 312 cups of flour. How many cups of flour are needed for every dozen muffins made?
find the next three terms in this sequence 1,4,9,16,25
what burden influenced some non-muslims to convert to islam
When someone of irish ancestry who doesn't typically identify as irish in everyday life puts on a green hat, drinks green beer, and wears a "kiss me, i'm irish"
What section of the large intestine is associated with the appendix?
"The Treaty of Indian Springs- sometimes referred to as the Second Treaty of Indian Springs- was signed in 1825. Led by Chief William McIntosh, the treaty ceded
simplify 12 divided (2+4)
Take a closer look at the fourth section, "Interest in Today’s Trading". What generalization can you make about how people viewed the effects of the stock marke
Which of the following countries ,according to amnesty international,is responsible for executing 3400people (80 percent of all executions globally)?