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 effect does caffeine have on the sleep cycle
why do non-metals look dull? a. they are not malleable. b. they are not ductile. c. they lack luster.
what are signal words? a. words that indicate connections between ideas b. words that introduce new topics c. words that define other words d. words used in a t
what is the value of the expression 4x−y2y x when x = 3 and y = 3?
felicidades has 34 quarters, 25 dimes,and 36 pennies.How many coins does felicia have
Is 4 primer or composite
how many times can 5 go into 1620
next two sets of numbers after 3-6, 7-14
the graph of which function has an axis of symmetry at x = 3? f(x) = x2 3x 1 f(x) = x2 – 3x – 3 f(x) = x2 6x 3 f(x) = x2 – 6x – 1
what is necessary for a convection cell to be set up in a fluid? a. thermal gradient b. changes in density c. thermal gradient and changes in density