×

Updating Shared Variables Atomically

  • US 20100332769A1
  • Filed: 06/25/2009
  • Published: 12/30/2010
  • Est. Priority Date: 06/25/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method, in a data processing system, for performing a transaction to update shared variables atomically, the method comprising:

  • reading one or more variables for a transaction;

    responsive to reading the one or more variables, attempting to acquire one or more locks corresponding to the one or more variables;

    responsive to the attempt to acquire the one or more locks being successful, performing work and updating the one or more variables; and

    waiting a predetermined time period prior to releasing the one or more locks.

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