|
Priority ceiling - Definition and Overview |
| Related Words: Arrangement, Ascendancy, Authority, Concern, Consequence, Consideration, Display, Dominion, Eminence, Emphasis, Facade, Face, Facet |
|
|
|
In computer science, priority ceiling protocol is used in scheduling to avoid deadlock due to priority inversion.
The following describes the Immediate Ceiling Priority Protocol (ICPP). According to Burns and Wellings [[1] (http://www.cs.york.ac.uk/rts/RTSBookThirdEdition.html)] this is called "Priority Protect Protocol" in POSIX and "Priority Ceiling Emulation" in Java. The Original Ceiling Priority Protocol (OCPP) has the same worst-case performance but is subtly different in the implementation.
In priority ceiling protocol, each resource is assigned a priority ceiling, which is a priority equal to that of the highest priority task which may lock the resource.
When a task lock the resource, its priority is temporarily raised to the priority ceiling, thus no task that may lock the resource is able to get scheduled.
- this allows a low priority task to defer execution of a higher-priority task
This is true of any scheme involving locked resources
A process will not get scheduled if any resource it may lock actually has been locked by another process.
|
|
Example Usage of Priority |
 |
willatkins: [4th place] "always a Priority at this club" (Gerrard) - sums up Liverpool - no real title ambitions (last year aside nothing for 21 years) |
 |
happymakernowco: RT @teamfqi: ...Don't let someone become a Priority in your life when you are just an option in theirs. #quote /via @LoriMoreno |
 |
SamanthaMCoh: RT @cynthiaboaz House GOP introduces res defending Xmas.http://bit.ly/50Dfoy Really?This is their Priority?As 120 die/day w/o health care |
|