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

Write 6.7 in two other forms
Sperm are released out of the male reproductive system through the (2 points)
why the clatholic church was targeted from reform
What was one major effect of industrialization on American society?
7 - 3 = -x + 1 Solve for X.
Gaetano spent $37.80 including tax on a pair of jeans how much did the jeans cost if there was an 8% sales tax
Which sentence contains both an adverb and a conjunction? A. Lucille was a kind person, but she hated people who spread rumors. B. Lawson crept silently u
round 6.537 to the nearest tenth
write the essay on critical rationalism. Use the following headings: 1. Introduction Discuss the origin and history of critical rationalism. 2. content indicat
what is an analogy for monarchy