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

Why is it not a good idea to store iodine in a plastic bag?
Which causes winds to blow over the surface of earth ? A. Uneven warming by the sun B. Fast flowing rivers C. The water cycle D. Infrared radiation
help me solve please
Rima complete the rhyme with the appropriate forms of the correct verbs from the list. contar oír poder suponer "si no dormir y el sueño deseas, lo vas a cons
How many moles of lithium metal would need to react with excess oxygen gas to produce 4 moles of lithium oxide in the following reaction? 4Li + O2 → 2Li2O
What is the origin of the Judaism group
A certain drug is made from only two ingredients: compound A and compound B. There are 5 milliliters of compound A used for every 7 milliliters of compound B.
i learned this so long ago & i don’t remember how to do it. plz help
How are bony fish better adapted to a swimming way of life than cartilaginpus fish?
find slope of a line that passes through (-2,2) (0,1)