Purpose of priority inheritance protocol in synchronization mechanisms is
2023
Purpose of priority inheritance protocol in synchronization mechanisms is
- A.
To prevent priority inversion in systems having two or lesser priorities for a resource
- B.
To provide mutual exclusion between threads and prevent data corruption
- C.
To prevent priority inversion and ensure fairness in resource allocation
- D.
To allow multiple threads to access any resource simultaneously
Attempted by 201 students.
Show answer & explanation
Correct answer: C
The priority inheritance protocol is a synchronization mechanism specifically designed to mitigate the priority inversion problem in real-time operating systems. It ensures that high-priority tasks are not blocked indefinitely by lower-priority tasks holding necessary resources.