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

8TH GRADE MATH QUESTION!
How does the introduction of a new character, Mr. Dussel, change the Secret Annex? What problems or complications can arise from this additional person in the h
What literary device is the phrase “ limber as a rag”
Texas Indian tribes
Which part of the formula is the argument?
Read the following excerpt from an editorial about the nature of reality television: (1) So-called “reality” TV shows dominate the dials of network and cable t
Why are Greek statues still admired today?
what does the song "what are you fighting for" mean
Consider the following events: A: The employee is male. B: The employee is female. C: The employee takes public transportation. D: The employee takes his/her ow
So for a school project, I have to find a song that aligns with the theme of the book. The theme is something about the evil within humanity. Does anyone have a