×

System and method for optimized preemption and reservation of software locks

  • US 20070136725A1
  • Filed: 12/12/2005
  • Published: 06/14/2007
  • Est. Priority Date: 12/12/2005
  • Status: Abandoned Application
First Claim
Patent Images

1. A computer-implemented method comprising:

  • releasing a software lock by a first thread;

    identifying a second thread waiting on the software lock at the time of the releasing;

    establishing a reservation to the software lock by the second thread in response to the identifying;

    waking the second thread in response to the releasing;

    after the establishment of the reservation and before the software lock has been taken by the second thread, receiving a first request for the software lock by a first requesting thread that is not the second thread; and

    denying the request and putting the first requesting thread to sleep in response to the second thread having a priority equal to or better than the first requesting thread.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×