Question discussion

In the classical readers–writers solution that gives preference to the readers, which problem can occur?

1757Medium DSSSB TGT Computer Science 0 replies 1 views
0

In the classical readers–writers solution that gives preference to the readers, which problem can occur?

  • ADeadlock among the readers
  • BStarvation of the writers
  • CStarvation of the readers
  • DStarvation of both readers and writers
Correct answer: B

Explanation

If readers keep arriving, a writer may never find the shared data free, so writers can starve.

Discussion 0

Nobody has replied yet. Start the discussion!