×

System and method for adding priority change value corresponding with a lock to a thread during lock processing

  • US 7,278,141 B2
  • Filed: 04/23/2003
  • Issued: 10/02/2007
  • Est. Priority Date: 04/23/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for altering a priority of a thread of execution that is being executed by a computer operating system, said method comprising:

  • receiving a request for a software lock from the thread, wherein the software lock is a data structure used to control access to a shared resource;

    determining that the software lock is available;

    granting the thread access to the shared resource in response to the determination;

    retrieving a priority change value corresponding to the software lock;

    altering the priority of the thread in conjunction with the granting by adding the priority change value to the priority of the thread;

    receiving a release instruction from the thread;

    revoking the access previously granted in response to receiving the release instruction; and

    readjusting the priority of the thread in conjunction with the revoking by subtracting the priority change value from the priority of the thread.

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