×

Lock Mechanism to Enable Atomic Updates to Shared Memory

  • US 20090240860A1
  • Filed: 03/24/2008
  • Published: 09/24/2009
  • Est. Priority Date: 03/24/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for performing atomic updates to a shared memory, the method comprising:

  • receiving a memory request for accessing an entry of the shared memory corresponding to an address;

    determining a lock address of a lock entry that stores a lock flag using the address;

    computing a lock result for the lock address that indicates whether or not a lock is acquired for the entry of the shared memory corresponding to the address;

    setting the lock flag to indicate that the entry is locked by the memory request to prevent another memory request from writing the entry of the shared memory corresponding to the address; and

    reading data stored in the entry of the shared memory corresponding to the address.

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