<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Priority_ceiling_protocol</id>
	<title>Priority ceiling protocol - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Priority_ceiling_protocol"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Priority_ceiling_protocol&amp;action=history"/>
	<updated>2026-10-26T17:29:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Priority_ceiling_protocol&amp;diff=5494717&amp;oldid=prev</id>
		<title>imported&gt;SchlurcherBot: Bot: http → https</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Priority_ceiling_protocol&amp;diff=5494717&amp;oldid=prev"/>
		<updated>2025-11-03T21:30:50Z</updated>

		<summary type="html">&lt;p&gt;Bot: http → https&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Previous revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:30, 3 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot;&gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|authorlink2=Andy Wellings&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|authorlink2=Andy Wellings&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is also known as &quot;Highest Locker&#039;s Priority Protocol&quot; (HLP).&amp;lt;ref&amp;gt;{{Cite web| title=Priority Ceiling Protocols | url=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http&lt;/del&gt;://user.it.uu.se/~yi/courses/rts/dvp-rts-08/notes/synchronization-resource-sharing.pdf | archive-url=https://web.archive.org/web/20130418081832/http://user.it.uu.se:80/~yi/courses/rts/dvp-rts-08/notes/synchronization-resource-sharing.pdf | archive-date=2013-04-18}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is also known as &quot;Highest Locker&#039;s Priority Protocol&quot; (HLP).&amp;lt;ref&amp;gt;{{Cite web| title=Priority Ceiling Protocols | url=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https&lt;/ins&gt;://user.it.uu.se/~yi/courses/rts/dvp-rts-08/notes/synchronization-resource-sharing.pdf | archive-url=https://web.archive.org/web/20130418081832/http://user.it.uu.se:80/~yi/courses/rts/dvp-rts-08/notes/synchronization-resource-sharing.pdf | archive-date=2013-04-18}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See also==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See also==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;SchlurcherBot</name></author>
	</entry>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Priority_ceiling_protocol&amp;diff=906383&amp;oldid=prev</id>
		<title>imported&gt;Rofraja: Replaced 1 bare URLs by {{Cite web}}; Replaced &quot;Archived copy&quot; by actual titles</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Priority_ceiling_protocol&amp;diff=906383&amp;oldid=prev"/>
		<updated>2025-04-06T13:45:51Z</updated>

		<summary type="html">&lt;p&gt;Replaced 1 bare URLs by {{Cite web}}; Replaced &amp;quot;Archived copy&amp;quot; by actual titles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[real-time computing]], the &amp;#039;&amp;#039;&amp;#039;priority ceiling protocol&amp;#039;&amp;#039;&amp;#039; is a synchronization protocol for [[resource (computer science)|shared resource]]s to avoid unbounded [[priority inversion]] and mutual [[Deadlock (computer science)|deadlock]] due to wrong nesting of [[critical section]]s. In this protocol each resource is assigned a priority ceiling, which is a [[:wikt:priority|priority]] equal to the highest priority of any [[task (computers)|task]] which may lock the resource. The protocol works by temporarily raising the priorities of tasks in certain situations, thus it requires a [[Scheduling (computing)|scheduler]] that supports [[dynamic priority scheduling]].&amp;lt;ref&amp;gt;&lt;br /&gt;
{{cite web&lt;br /&gt;
 | last = Renwick&lt;br /&gt;
 | first = Kyle&lt;br /&gt;
 | authorlink =&lt;br /&gt;
 | last2 = Renwick&lt;br /&gt;
 | first2 = Bill&lt;br /&gt;
 | title = How to use priority inheritance&lt;br /&gt;
 | publisher = embedded.com&lt;br /&gt;
 | date = May 18, 2004&lt;br /&gt;
 | url = http://www.embedded.com/design/configurable-systems/4024970/How-to-use-priority-inheritance&lt;br /&gt;
 | accessdate = November 11, 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ICPP versus OCPP ==&lt;br /&gt;
There are two variants of the protocol:  &amp;#039;&amp;#039;&amp;#039;Original Ceiling Priority Protocol&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;OCPP&amp;#039;&amp;#039;&amp;#039;) and &amp;#039;&amp;#039;&amp;#039;Immediate Ceiling Priority Protocol&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;ICPP&amp;#039;&amp;#039;&amp;#039;). The worst-case behaviour of the two ceiling schemes is identical from a scheduling view point. Both variants work by temporarily raising the priorities of tasks.&amp;lt;ref name=&amp;quot;informatik&amp;quot;&amp;gt;{{Cite web| url=http://rtsys.informatik.uni-kiel.de/teaching/ws08-09/v-emb-rt/lectures/lecture13-handout4.pdf | title=Embedded Real-Time Systems—Lecture 13 | accessdate=2014-11-13 | url-status=dead | archiveurl=https://web.archive.org/web/20141113091626/http://rtsys.informatik.uni-kiel.de/teaching/ws08-09/v-emb-rt/lectures/lecture13-handout4.pdf | archivedate=2014-11-13}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In OCPP, a task X&amp;#039;s priority is raised when a higher-priority task Y tries to acquire a resource that X has locked. The task&amp;#039;s priority is then raised to the highest priority had been blocked by itself, ensuring that task X quickly finishes its critical section, unlocking the resource. A task is only allowed to lock a resource if its dynamic priority is higher than the priority ceilings of all resources locked by other tasks. Otherwise the task becomes blocked, waiting for the resource.&amp;lt;ref name=&amp;quot;informatik&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In ICPP, a task&amp;#039;s priority is immediately raised when it locks a resource. The task&amp;#039;s priority is set to the priority ceiling of the resource, thus no task that may lock the resource is able to get scheduled. This ensures the OCPP property that &amp;quot;A task can only lock a resource if its dynamic priority is higher than the priority ceilings of all resources locked by other tasks&amp;quot;.&amp;lt;ref name=&amp;quot;informatik&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ICPP is easier to implement than OCPP, as blocking relationships need not be monitored&amp;lt;ref name=&amp;quot;informatik&amp;quot;/&amp;gt;&lt;br /&gt;
* ICPP leads to fewer context switches as blocking is prior to first execution&amp;lt;ref name=&amp;quot;informatik&amp;quot;/&amp;gt;&lt;br /&gt;
* ICPP requires more priority movements as this happens with all resource usage&amp;lt;ref name=&amp;quot;informatik&amp;quot;/&amp;gt;&lt;br /&gt;
* OCPP changes priority only if an actual block has occurred&amp;lt;ref name=&amp;quot;informatik&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ICPP is called &amp;quot;Ceiling Locking&amp;quot; in [[Ada (programming language)|Ada]], &amp;quot;Priority Protect Protocol&amp;quot; in [[POSIX]] and &amp;quot;Priority Ceiling Emulation&amp;quot; in [[Real-time specification for Java|RTSJ]].&amp;lt;ref name=&amp;quot;burns2001&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
|title = Real-Time Systems and Programming Languages &amp;amp;mdash; Ada&amp;amp;nbsp;95, Real-Time Java and Real-Time POSIX&lt;br /&gt;
|date=March 2001&lt;br /&gt;
|edition = 3rd&lt;br /&gt;
|publisher = Addison Wesley Longmain&lt;br /&gt;
|isbn = 0-201-72988-1&lt;br /&gt;
|author1=Alan Burns&lt;br /&gt;
|author2=Andy Wellings&lt;br /&gt;
|authorlink1=Alan Burns (professor)&lt;br /&gt;
|authorlink2=Andy Wellings&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
It is also known as &amp;quot;Highest Locker&amp;#039;s Priority Protocol&amp;quot; (HLP).&amp;lt;ref&amp;gt;{{Cite web| title=Priority Ceiling Protocols | url=http://user.it.uu.se/~yi/courses/rts/dvp-rts-08/notes/synchronization-resource-sharing.pdf | archive-url=https://web.archive.org/web/20130418081832/http://user.it.uu.se:80/~yi/courses/rts/dvp-rts-08/notes/synchronization-resource-sharing.pdf | archive-date=2013-04-18}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Priority inheritance]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* {{cite journal |author1=Lui Sha |author2=Ragunathan Rajkumar |author2-link=Ragunathan Rajkumar |author3=John P. Lehoczky |author3-link=John Lehoczky |name-list-style=amp |date=September 1990 |title=Priority Inheritance Protocols: An Approach to Real-Time Synchronization |journal=[[IEEE Transactions on Computers]] |volume=39 |issue=9 |pages=1175&amp;amp;ndash;1185 |url=http://www.csie.ntu.edu.tw/~r95093/papers/Priority%20Inheritance%20Protocols%20An%20Approach%20to%20Real-Time%20Synchronization.pdf |doi=10.1109/12.57058 |access-date=2014-11-13 |archive-date=2016-07-29 |archive-url=https://web.archive.org/web/20160729211417/http://www.csie.ntu.edu.tw/~r95093/papers/Priority%20Inheritance%20Protocols%20An%20Approach%20to%20Real-Time%20Synchronization.pdf |url-status=dead }}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Real-time computing]]&lt;br /&gt;
[[Category:Concurrency control]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Rofraja</name></author>
	</entry>
</feed>