Priority ceiling protocol

Priority ceiling protocol

In real-time computing, the priority ceiling protocol is a synchronization protocol for shared resources to avoid unbounded priority inversion and mutual deadlock due to wrong nesting of critical sections. In this protocol each resource is assigned a priority ceiling, which is a priority equal to the highest priority of any task which may lock the resource.cite journal
author = Lui Sha, Ragunathan Rajkumar, and John P. Lehoczky
month = September
year = 1990
title = Priority Inheritance Protocols: An Approach to Real-Time Synchronization
journal = IEEE Transactions on Computers
volume = 39
issue = 9
pages = 1175–1185
issn = 0018-9340
url = http://www-md.e-technik.uni-rostock.de/ma/gol/rtsys-bib/90-toc-pcp.pdf
doi = 10.1109/12.57058
]

In the Immediate Ceiling Priority Protocol (ICPP) when a task locks the resource its priority is temporarily raised to the priority ceiling of the resource, thus no task that may lock the resource is able to get scheduled. This allows a low priority task to defer execution of higher-priority tasks.

The Original Ceiling Priority Protocol (OCPP) has the same worst-case performance but is subtly different in the implementation which can provide finer grained priority inheritance control mechanism than ICPP.

A task will not get scheduled if any resource it may lock actually has been locked by another task, and therefore the priority ceiling protocol prevents deadlocks.

ICPP is called "Priority Protect Protocol" in POSIX and "Priority Ceiling Emulation" in abbrlink|RTSJ|Real-time specification for Java.cite book
title = Real-Time Systems and Programming Languages — Ada 95, Real-Time Java and Real-Time POSIX
month = March
year = 2001
author = Alan Burns, and Andy Wellings
edition = 3rd
publisher = Addison Wesley Longmain
isbn = 0201729881
]

References

External links

* [http://www.embedded.com/showArticle.jhtml?articleID=20600062 How to use priority inheritance] , by Kyle Renwick and Bill Renwick (2004-05-18)


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Priority Ceiling Protocol — Dieser Artikel oder Abschnitt bedarf einer Überarbeitung. Näheres ist auf der Diskussionsseite angegeben. Hilf mit, ihn zu verbessern, und entferne anschließend diese Markierung. Die Prioritätsgrenze, engl. priority ceiling protocol ist eine… …   Deutsch Wikipedia

  • Priority Inheritance Protocol — Dieser Artikel oder Abschnitt ist nicht hinreichend mit Belegen (Literatur, Webseiten oder Einzelnachweisen) versehen. Die fraglichen Angaben werden daher möglicherweise demnächst gelöscht. Hilf Wikipedia, indem du die Angaben recherchierst und… …   Deutsch Wikipedia

  • Priority inversion — In scheduling, priority inversion is the scenario where a low priority task holds a shared resource that is required by a high priority task. This causes the execution of the high priority task to be blocked until the low priority task has… …   Wikipedia

  • Priority inheritance — In real time computing, priority inheritance is a method for eliminating priority inversion problems. Using this programming method, a process scheduling algorithm will increase the priority of a process to the maximum priority of any process… …   Wikipedia

  • Rate-monotonic scheduling — In computer science, rate monotonic scheduling [citation|first1=C. L.|last1=Liu|authorlink1=Chung Laung Liu|first2=J.|last2=Layland|title=Scheduling algorithms for multiprogramming in a hard real time environment|journal=Journal of the ACM|volume …   Wikipedia

  • Prioritätsgrenze — Die Prioritätsgrenze (englisch priority ceiling protocol) ist eine Methode zur Behebung des Problems der Prioritätsinversion, und der Vermeidung von Deadlocks. Sie ist eine Erweiterung der Prioritätsvererbung, kann aber im Gegensatz zu dieser… …   Deutsch Wikipedia

  • Pcp — Die Abkürzung PCP steht für: Flughafen Príncipe im Inselstaat São Tomé und Príncipe (IATA Code) Partido Comunista Português, die Kommunistische Partei Portugals Partido Comunista Paraguayo, die Kommunistische Partei Paraguays PC Powerplay, ein… …   Deutsch Wikipedia

  • PCP — Primary Care Physician (Medical » Physiology) **** Pneumocystis Carinii Pneumonia (Medical » Physiology) **** Primary Care Provider (Business » Positions) ** Personal Contract Purchase (Governmental » US Government) * Personal Contract Plan… …   Abbreviations dictionary

  • NPCP — New Priority Ceiling Protocol (Computing » Security) New Priority Ceiling Protocol (Computing » Networking) …   Abbreviations dictionary

  • RWPCP — Read/Write Priority Ceiling Protocol (Computing » Networking) Read/Write Priority Ceiling Protocol (Computing » Security) …   Abbreviations dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”