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

Summarize Shays Rebellion
Choose the correct singular, third person, conjugation of the verb to be in the future perfect tense
How did many writers in the 1920s react to the changing American culture?
Carl runs around a track 1.17 min how long would it take him to run 1.5 laps at his rate? ( round to 2 places)
what year did George Washington sail the ocean blue?
in a general partnership if ones partners actions cause the firm losses then
What were the effects of the Russo-Japanese War? Check all that apply. Japan was viewed as the most powerful nation in East Asia. Japan added Manchuria to its
A _______ container isn't compatible with floral preservatives. A. glass B. straw C. metal D. plastic
If you needed to triple a recipe would the rate change? Please explain
Given a force of 56 n and an acceleration of 7 m\s2, what is the mass