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

During his speech, the guest speaker _____ wildly with his hands, distracting the audience from the important points he was trying to make. A. Intermingled B.
why is it important to not get distracted while driving?
Make a conjecture about the sum of the first 30 positive even numbers
a right pyramid with a square base has a base edge length of 24 feet and slant height of 20 feet what is the height of the pyramid
the reciprocal of 1/50 is?
Which products are formed when aluminum is added to a silver chloride solution? none only AlCl3 AlCl3 and Ag AlAg3 and Cl2
A theory was not originally a hypothesis. true or false?
Bolívar had hoped for a unified state in latin america, but
The base for of a verb also known as
a blueprint for a house states that 2.5 inches equals10 feet if the length of wall is 12 feet how many inches is the wall in the blueprint