FACTOID # 51: Russia won the first World Air Games, held in Turkey in 1997. Events included hang-gliding, sky-surfing, and ballooning.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Priority ceiling

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.


  Results from FactBites:
 
Priority inversion - Wikipedia, the free encyclopedia (650 words)
If the high priority task is left starved of the resources, it might lead to a system malfunction or the triggering of pre-defined corrective measures, such as a watch dog timer resetting the entire system.
Low priority tasks usually have a low priority because it is not important for them to finish promptly (for example, they might be a batch job or another non-interactive activity).
With priority ceilings, the shared mutex process (that runs the operating system code) has a characteristic (high) priority of its own, which is assigned to the task locking the mutex.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.