Open In App

Highest Locker Protocol (HLP)

Highest Locker Protocol (HLP) is a critical resource sharing protocol that is an extension of Priority Inheritance Protocol which was introduced to overcome the limitations of Priority Inheritance Protocol. In this critical resource sharing protocol, every critical resource is assigned a ceiling priority value. This value is the maximum of priorities of all those tasks which may request to hold this critical resource. 

Basic Concept of HLP : 
The basic concept of Highest Locker Protocol is based on the ceiling priority value. When a task holds a critical resource its priority is changed to the ceiling priority value of the critical resource. If a task holds multiple critical resources, then maximum of all ceiling priorities values is assigned as priority of the task. 



Working of HLP : 

Features of HLP :  



Advantages of HLP : 
Following are the advantages of Highest Locker Protocol:  

Disadvantages of HLP : 
The major disadvantage of Highest Locker Protocol is Inheritance related Priority Inversion

Inheritance related Priority Inversion occurs when the priority value of low priority task acquiring a critical resource is assigned the highest priority using ceiling rule then the intermediate priority tasks that do not need the resource can not execute and undergo Inheritance related Priority Conversion.
 

Article Tags :