×

System and method for priority inheritance

  • US 6,904,483 B2
  • Filed: 03/20/2001
  • Issued: 06/07/2005
  • Est. Priority Date: 03/20/2001
  • Status: Expired due to Term
First Claim
Patent Images

1. A method comprising:

  • raising a current priority of a task to a current priority of a higher priority task when the higher priority task blocks on a resource held by the task;

    incrementing a priority inheritance variable when the higher priority task blocks on the resource held by the task, the priority inheritance variable associated with the task and configured to be indicative of the number of resources held by the task that higher priority tasks are waiting to receive;

    decrementing the priority inheritance variable when the task releases the resource that the higher priority task has blocked on;

    testing the priority inheritance variable; and

    lowering the current priority of the task when testing the priority inheritance variable indicates that the task holds no resources that are involved in a priority inheritance.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×