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

How did Tecumseh promote cooperation among American Indians?
Which form or system of government gives the most power to the people of the nation A) Unitary B) Autocracy C) Democracy D) Oligarchy
In many cases, a ribbon organizes buttons and options in Select one: a. menus. b. sections. c. toolbars. d. groups.
Is it more costly to Andrew to go to graduate business school full time or part time if the tuition is the same for each? A. Part time B. It costs the same whe
1. Which of the following is a sentence fragment? -Early American writers were mostly men. -Many early American women never. 2. Which element must be added to
Find an equation of the line through the given pair of points. (-7.-9) and (-2,-6)
Please answer this correctly
Solve the Inverse Function
what northern cities saw the largest influx of african americans in the early 20th century
What are the vertices of the following graph?