×

Component-specific disclaimable locks

  • US 8,495,640 B2
  • Filed: 03/16/2012
  • Issued: 07/23/2013
  • Est. Priority Date: 09/08/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method comprising:

  • tracking back out activity among a plurality of threads to release a disclaimable lock having a plurality of orderable locks that are arranged in a list of orderable locks, wherein tracking the back out activity includes, for a disclaiming thread among the plurality of threads,receiving a request to release the disclaimable lock from the disclaiming thread,creating an orderable lock in response to the request to release the disclaimable lock,adding the orderable lock to a list of orderable locks associated with the disclaimable lock as a first orderable lock,designating the orderable lock as a current lock,storing a recursion count of the disclaiming thread, andissuing a back out event at least to enable the disclaiming thread to release the disclaimable lock,receiving a request to reclaim the disclaimable lock from a current thread among the plurality of threads;

    determining whether the current lock of the disclaimable lock is associated with the current thread if the disclaimable lock is not held by another thread, wherein the current lock is associated with the current thread when the current thread is the disclaiming thread;

    removing, if the current lock of the disclaimable lock is associated with the current thread, the first orderable lock from the list of orderable locks associated with the disclaimable lock;

    newly designating a second orderable lock as the current lock;

    reinstating a recursion count of the current thread;

    granting acquisition of the current lock to the current thread based on the determination; and

    issuing a reclamation event.

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