168k views
4 votes
The problem of priority inversion can be solved by

a) Priority inheritance protocol
b) Priority inversion protocol
c) Both (a) and (b)
d) None of the mentioned

User Gumeo
by
8.3k points

1 Answer

4 votes

Final answer:

The problem of priority inversion can be solved using the Priority Inheritance Protocol. Priority Inversion Protocol is not an actual protocol, but the issue that needs resolving. The priority inheritance mechanism elevates the lower-priority task to prevent blocking of higher-priority tasks.

Step-by-step explanation:

The problem of priority inversion can be addressed using the Priority Inheritance Protocol. There is no specific protocol called the Priority Inversion Protocol; rather, it is the problem that is to be solved. Therefore, the correct answer is a) Priority inheritance protocol.

Priority inheritance is a technique used in scheduling where, if a lower-priority task is holding a resource (such as a lock) needed by a higher-priority task, the lower-priority task temporarily inherits the higher priority until it releases the resource, preventing higher-priority tasks from being blocked indefinitely by lower-priority ones.

User Pschild
by
9.2k points

No related questions found