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 concept of sustainable development draws particular attention to the well-being of
Is the following function even, odd, or neither f(x)=x^3/x+1
what is known as the substance that is dissolved
A student adds 0. 0030 mol of hcl to 100 ml of a 0. 10 m solution of a r2nh, a weak base. The ph of the solution is found to be 11. 10
what is is the attraction of water molecule to each other
What is the diameter of a hemisphere with the volume of 74466
Please Help! In a proof to show two triangles are congruent if a given is PR ⟂ CK, which of the following statements most likely will be used within the proof?
Adjustment, accommodations, modifications, and revision are all synonyms for which word?
HELP! (10 pts) According to the article, why was Dr. Wu's success in proving the new theory important?A.It allowed her to undertake nuclear research at Columbia
How can you personally prevent drug, alcohol, and tobacco use?