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

tim makes 80 gallons of paint by mixing 48 gallons of green paint with 32 gallons of blue paint what part of every gallon is from green paint.
What' is the fourth letter in the alphabet
When we speak of the flavor of a word, we're talking about the extra understood meanings that it carries in addition to its main meaning. These extra meanings a
take a look at the pic and please help me
Which one of the following sentences is interrogative A. Either June or her children are going to the movie tonight. B. Neither Hannibal nor her pups is in the
Analyze the extent to which political and economic changes reshaped american society between 1820 and 1848.
what is Nunavut and what challenges has it faced recently?
What's the square root of 0.4 repeating
Describe an ideal friend in 40-50 words.
Which of the following is a polynomial function in standard form with zeros at –8, –1, and 3? A) f(x) = (x + 8)(x + 1)(x – 3) B) f(x) = x^3 – 6x^2 – 19x + 24 C)