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

0.4 greater or less than 0.036
Show two ways to decompose the number 749
H(x)=(x^2)+1 and K(x)=-(x^2)+4. If K(H)=0, what are the roots/solutions? a. ±i√3 b. ±i c. ±2 d. ±1 e. ±1, ±i
how many ten thousands equal 400,000
word form for 600,000+80,000+10
There are 21 students  in Mr.Tentlers  class The students divided themselves evenly  into 3 groups.how many  students  are in each  groups?
Simplify by combining like terms ... i need help sadly ... 1) 5a-a 2) 5 divide 10s - 8s 3) 2a + 3b + 4a
A Japanese beetle has length between 0.3 and 0.5 inches.Find two lengths that are within the given span. Write them as fraction in simplest form?PS NO ONE HAS D
solve 5c + 4 = -26A. 6B. -6C. -4.4D. 3solve 3x - x + 2 = 12A. -5B. 4C. 7D.5solve 3(x + 1) + 6 = 33A.10B. 8C. 8.7D. -8solve [tex] \frac{y}{-6} [/tex] + = 9A. 24B
What is the estimate for 200,629+28,542