Purpose of priority inheritance protocol in synchronization mechanisms is

2023

Purpose of priority inheritance protocol in synchronization mechanisms is

  1. A.

    To prevent priority inversion in systems having two or lesser priorities for a resource

  2. B.

    To provide mutual exclusion between threads and prevent data corruption

  3. C.

    To prevent priority inversion and ensure fairness in resource allocation

  4. 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.

Explore the full course: Isro