×

Orderable locks for disclaimable locks

  • US 9,471,399 B2
  • Filed: 06/18/2013
  • Issued: 10/18/2016
  • Est. Priority Date: 09/08/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer program product comprising:

  • a non-transitory computer readable storage medium; and

    computer usable code stored on the non-transitory computer readable storage medium, where, if executed by a processor, the computer usable code causes a computer to;

    create an orderable lock for a disclaimable lock in response to a request to release the disclaimable lock, wherein the request is made by a disclaiming thread that holds the disclaimable lock;

    instruct the disclaiming thread to release the disclaimable lock when the orderable lock is created;

    cause one or more threads that are waiting for the disclaimable lock to attempt to acquire the orderable lock when the disclaimable lock is released;

    determine, if the disclaimable lock is not held by a thread, whether a current thread that attempts to acquire the orderable lock is associated with the orderable lock, wherein the current thread is associated with the orderable lock if it is the disclaiming thread; and

    grant acquisition of the orderable lock to the current thread if the current thread is associated with the orderable lock.

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