biology daily - the biology and biochemistry encyclopedia
biology daily articles and research Encyclopedia Dictionary Forums biology research links Weblinks Pictures Articles Blogs Newsletter

Priority ceiling protocol

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]] 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.



07-14-2008 23:18:10
The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy
BiologyDaily.com 2005. Legal info   Privacy