IP Library Granted Patent US 9,250,964
Granted Patent B2
US 9,250,964 · App. 14/010,591 · Granted Feb 2, 2016

Concurrent computing with reduced locking requirements for shared data

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,250,964
App. No.
14/010,591
Granted
Feb 2, 2016
Kind
B2
Abstract

Where data are shared by multiple computer processing threads, modifying the data by determining whether modifying data associated with a first computer processing thread violates a constraint associated with the data, and responsive to determining that modifying the data associated with the computer processing thread violates the constraint associated with the data, using the data associated with the first computer processing thread to modify the data shared by the multiple computer processing threads that includes the first computer processing thread, where the constraint associated with the data associated with the first computer processing thread represents a portion of a tolerance value that is associated with the data shared by the multiple computer processing threads and that is divided among multiple constraints, where each of the constraints is associated with a different one of the multiple computer processing threads.

Claims (65)

1. A computer-implemented method, comprising:

determining, using a processor, whether modifying data associated with a first computer processing thread violates a constraint associated with the data; and

using, responsive to a determination that the modifying the data violates the constraint associated with the data, the data to modify data shared by multiple computer processing threads that includes the first computer processing thread, wherein the constraint represents a portion of a tolerance value that is

a) associated with the data shared by the multiple computer processing threads

and

b) divided among a plurality of constraints and each of the plurality of constraints is associated with a different one of the multiple computer processing threads,

wherein

each of the multiple computer processing threads has an associated own thread-local data for storing modifications intended for the data shared by the multiple computer processing threads, and

a tolerance value associated with the data shared by the multiple computer processing threads sets a bound for a difference between

i) an aggregate of the data shared by the multiple computer processing threads and the thread-local data of the multiple computer processing threads and

ii) the data shared by the multiple computer processing threads.

2. The method according to claim 1 , further comprising configuring a set of computer software instructions to perform the determining and the using.

3. The method according to claim 2 , further comprising

causing each of the multiple computer processing threads to execute a different instance of the computer software instructions.

4. The method according to claim 1 , wherein

the data shared by the multiple computer processing threads is a single numeric value.

5. The method according to claim 1 , wherein

the data shared by the multiple computer processing threads is a set of multiple elements.

6. The method according to claim 1 , wherein

each of the multiple computer processing threads has an associated own thread-local data for storing modifications intended for the data shared by the multiple computer processing threads.

7. The method according to claim 1 , further comprising

modifying the data associated with the first computer processing thread with a modification intended for the data shared by the multiple computer processing threads upon a determination that the modification does not violate the constraint.

8. A computer hardware system, comprising:

at least one hardware processor configured to initiate the following executable operations:

determining whether modifying data associated with a first computer processing thread violates a constraint associated with the data; and

using, responsive to a determination that the modifying the data violates the constraint associated with the data, the data to modify data shared by multiple computer processing threads that includes the first computer processing thread,

wherein the constraint represents a portion of a tolerance value that is

a) associated with the data shared by the multiple computer processing threads

and

b) divided among a plurality of constraints and each of the plurality of constraints is associated with a different one of the multiple computer processing threads,

wherein

each of the multiple computer processing threads has an is associated own thread-local data for storing modifications intended for the data shared by the multiple computer processing threads, and

a tolerance value associated with the data shared by the multiple computer processing threads sets a bound for a difference between

i) an aggregate of the data shared by the multiple computer processing threads and the thread-local data of the multiple computer processing threads and

ii) the data shared by the multiple computer processing threads.

9. The system of claim 8 , wherein the at least one hardware processor is further configured to initiate the following executable operation:

configuring a set of computer software instructions to perform the determining and the using.

10. The system of claim 9 , wherein the at least one hardware processor is further configured to initiate the following executable operation:

causing each of the multiple computer processing threads to execute a different instance of the computer software instructions.

11. The system of claim 8 , wherein

the data shared by the multiple computer processing threads is a single numeric value.

12. The system of claim 8 , wherein

the data shared by the multiple computer processing threads is a set of multiple elements.

13. The system of claim 8 , wherein

each of the multiple computer processing threads has an associated own thread-local data for storing modifications intended for the data shared by the multiple computer processing thread.

14. The system of claim 8 , wherein the at least one hardware processor is further configured to initiate the following executable operation:

modifying the data associated with the first computer processing thread with a modification intended for the data shared by the multiple computer processing threads upon a determination that the modification does not violate the constraint.

15. A computer program product comprising:

a non-transitory, computer-readable storage medium storing computer-readable program code, wherein

the computer-readable program code program code is executable by at least one processor to perform:

determining whether modifying data associated with a first computer processing thread violates a constraint associated with the data; and

using, responsive to a determination that the modifying the data violates the constraint associated with the data, the data to modify data shared by multiple computer processing threads that includes the first computer processing thread,

wherein the constraint represents a portion of a tolerance value that is

a) associated with the data shared by the multiple computer processing threads

and

b) divided among a plurality of constraints and each of the plurality of constraints is associated with a different one of the multiple computer processing threads,

wherein

each of the multiple computer processing threads has an is associated own thread-local data for storing modifications intended for the data shared by the multiple computer processing threads, and

a tolerance value associated with the data shared by the multiple computer processing threads sets a bound for a difference between

i) an aggregate of the data shared by the multiple computer processing threads and the thread-local data of the multiple computer processing threads and

ii) the data shared by the multiple computer processing threads.

16. The computer program product of claim 15 , wherein

each of the multiple computer processing threads has an associated own thread-local data for storing modifications intended for the data shared by the multiple computer processing thread.

17. The computer program product of claim 15 , wherein the computer-readable program code program code is executable by the at least one processor to further perform:

modifying the data associated with the first computer processing thread with a modification intended for the data shared by the multiple computer processing threads upon a determination that the modification does not violate the constraint.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: MAPLEBEAR INC.
Reel/Frame 055155/0943 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 27, 2013
From: YELLIN, DANIEL M.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 031087/0295 →