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

Which of the following is an example of how research into the effects of a chemical has changed how it is used? A. Finding out that a pesticide is dangerous
In which cases does the supreme court have original jurisdiction
I dont get this at all
What was the date when Thomas Becket was murdered?
Why would heating the gas in an air balloon make the balloon rise?
15. What type of presentation includes information created in a different Office application? A. Embedded B. OLE C. Linked D. Integrated
Which describes the House of Burgesses? A. the first Congress for the thirteen colonies B. the first representative assembly in the European colonies C. the
359 divided by 20 long divison
Which of the following geographic regions is the wealthiest?
Take the elevator to thw third floor and walk to room 102. Identify the subject