×

Semaphore with timeout and lock-free fast path for message passing architectures

  • US 9,772,888 B2
  • Filed: 04/10/2013
  • Issued: 09/26/2017
  • Est. Priority Date: 04/10/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving a request from a client to access an object, the object including a plurality of resources;

    placing the request in a lock-free pend queue of a semaphore, the lock-free pend queue excluding a locking operation on the semaphore that prevents the semaphore from being isolated;

    manipulating a decision variable based on an availability of at least one of the plurality of resources;

    determining whether the client can use a fast path to the object by atomically manipulating the decision variable, wherein the fast path is an operation that utilizes a lock-free path to the object; and

    tracking elapsed time to manage semaphore timeouts,wherein at least one of the semaphore timeouts is used to adjust the decision variable.

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