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

What is 8/33 as a decimal?
A.) write an equation in slope intercept form for the total cost of any number of tickets at 7 tickets for $5. b.) Write an equation in slope-intercept form for
A tariff is a form of taxation on foreign products, while a quota is a ______ on imports from foreign countries.
Which of the following serve as enzymes?
What does y=x+5 mean to do in a graph ?
there are 64 fifth graders at parks school. 3/8 of them bring their own lunch to school. how many of them bring their own lunch?
A food service worker earns $12 per hour . How much money ,m, does the worker earn on a shift of h hours ?
round each number to the nearest hundred 1,427
A gene is to a chromosome as a. a pea to a pod b. a front is to a back c. a bike is to a car d. a building is to a window
The United States disagrees with a government of a foreign country. So it imposes a(n) _____ on trade between the two countries. standard subsidy embargo