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

define the term virtual
Which of the following best describes an aesthetic impact? A. A motif of sunlight that appears in every scene of a play B. The major conflicts of a play C. A fe
which equation could the graph​
I need help with this question, please do it in steps thank you! 3x-y=5
How many students are harassed and bullied in Malaysian school?
What is one duty of the lieutenant governor of Georgia but not the governor? A. serving as commander-in-chief of the state's military B. leader of the Georgia S
What is the figurative language“or for tobacco brown bones to come wandering" A) simile B) metaphor C) Personification D) Hyperbole and what two things compare
DUE TODAY A county has the following rule for voting: "Citizens under the age of 18 are not allowed to vote." Part A: Write an inequality to show the age of cit
Toshovo Computer owns four production plants at which computer workstations are produced. The company can sell up to 40,000 computers per year at a price of $15
Find the slope and the y-intercept of the graph of y−3.5=−2x.