Machine-translated by Google. Questions are authored in English.
Top

Discussion

Starvation of a low priority task occurs when

  • A.two tasks wait for one another's resources
  • B.the kernel's tick has stopped running
  • C.higher priority work is always ready to run
  • D.the task holds a lock that nothing else needs

Answer: C

Correct answer: higher priority work is always ready to run

A strict priority scheduler runs the highest priority ready task, so a low priority task starves whenever something above it is always ready. It is a scheduling outcome rather than a locking fault, and the remedies are ageing the priority, reserving a share of processor time, or reconsidering the priority assignment.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.