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

The diameter of a semicircle is 8 kilometres. What is the semicircle's perimeter?
Highland Village, Texas, has implemented a program that involves parents working with police to guide at-risk young people. If a young person is caught committ
What is the acceleration of a car that goes from 22.0 km/h to 64.0 km/h in 9.4 seconds? (Answer to 1 decimal place)
2 what is deep learning?
Because it had not rained for several months, there was a ...................... of water.
Work out the coordinate of R​
what is mean by migrationwho will give me brainlest then I am follow you​
help me plss ty in advanced​
What was one economic difference between the New England and Middle colonies? O The Middle colonies used the labor of enslaved people less. O The New England co
2800 music fans attend a concert. They travel in coaches. Each coach has 53 seats. How many coaches are required?​