viva question and answer
viva question and answer
35. “Priority inversion is a condition that occurs in real time systems where a low priority process is starved
because higher priority processes have gained hold of the CPU”- Comment on this statement.
Priority inversion is a problem that occurs in concurrent processes when low-priority threads hold shared
resources required by some high-priority threads, causing the high priority-threads to block indefinitely. This
problem is enlarged when the concurrent processes are in a real time system where high- priority threads must be
served on time.