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

Scarcity is the condition of not having enough goods and services to satisfy everyone's?
Scarcity is the condition of not having enough goods and services to satisfy everyone's?
what is the answer for (20,8),(9,16) ?
how is mass transit in cities a possible solution tk urban air pollution?
Can someone use the word delta in a sentence
Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
Scarcity is the condition of not having enough goods and services to satisfy everyone's?
Which equation has the same y-intercept as y=4x-3?a. y-3=x              b. y=8x+3    c. 3-y=4x      d. y=-3+8xWhich of the following is the equation of the line
Can someone use the word delta in a sentence
How is it possible for Mercury to have frozen ice ?