×

Systems and methods for managing concurrent access requests to a shared resource

  • US 20070094431A1
  • Filed: 10/21/2005
  • Published: 04/26/2007
  • Est. Priority Date: 10/21/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method of managing concurrent access requests to a data segment, comprising:

  • tracking shared lock requests from a plurality of processes in a first data structure when no exclusive waiter is present, wherein the first data structure tracks the total number of shared locks;

    tracking shared lock requests in a second data structure when an exclusive waiter is present and the total number of shared locks is greater than zero, wherein the second data structure tracks the number of shared locks held by each of the plurality of processes;

    tracking recursive shared lock requests in the second data structure when an exclusive waiter is present and the total number of shared locks is zero;

    granting an exclusive lock to the exclusive waiter when the total number of shared locks is zero and the number of shared locks held by each of the plurality of processes is zero.

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