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

Can anyone solve 12? ASAP FIND EACH LENGTH TO THE NEAREST TENTH
Constructivist approaches to teaching and learning use __________-centered principles
Air spiraling rapidly inward toward the center of a hurricane does not make it all of the way to the center because of?
PLEASE HELP ASAP, I WILL GIVE 40 POINTS IF THE RIGHT ANSWER, AND BRAINLEST, ASAP
Answer For X (in degrees)
please help! look at the photo linked​
When following a large vehicle, maintain a following distance of 4 or more seconds. a. true b. false
Decimals from greatest to least .750 .475 -0.123 .675 .253
In aerobic respiration, nadh is oxidized at _____, while fadh2 is oxidized at _____.
Which answer choice has the set of numbers ordered correctly from least to greatest Its 1.71, 1 3/4, pie, 16/9