Question discussion

Priority inversion occurs when

1732Medium DSSSB TGT Computer Science 0 replies 1 views
0

Priority inversion occurs when

  • Aa low-priority process is created before a high-priority process
  • Bthe scheduler permanently reverses the priorities of all the processes
  • Ca high-priority process is made to wait for a lower-priority process that holds a resource it needs
  • Dthe CPU executes two processes of the same priority one after the other
Correct answer: C

Explanation

In priority inversion a low-priority holder of a lock delays a high-priority process (often aggravated by a medium-priority process); priority inheritance is the usual remedy.

Discussion 0

Nobody has replied yet. Start the discussion!