×

Concurrent access of shared resources utilizing tracking of request reception and completion order

  • US 7,047,337 B2
  • Filed: 04/24/2003
  • Issued: 05/16/2006
  • Est. Priority Date: 04/24/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method of accessing a shared resource in a computer, the method comprising, in a first process among a plurality of processes capable of asynchronously issuing requests that use the shared resource:

  • atomically assigning a unique identifier to a current request that uses the shared resource, wherein the unique identifier is assigned to the current request based upon the order in which the current request is received relative to other requests issued by the plurality of processes;

    completing processing of the current request using the unique identifier;

    atomically incrementing a count of completed requests after processing of the current request is complete;

    atomically determining if processing of every other request issued prior to a most recently completed request has been completed after processing of the current request is complete; and

    in response to determining that processing of every other request issued prior to the most recently completed request has been completed, dispatching each non-dispatched request for which processing has completed.

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