# US 2015/0149745 A1 · Parallelization with controlled data sharing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149745 A1
- Document ID: US20150149745A1
- Status: Published application
- Kind: A1
- Application number: 14/245,643
- Filed: 2014-04-04
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Inventors: Markus Eble; Vaidas Gasiunas; Ivan Galkin; Maciej Kabala; Arne Harren; Klaus Kretzschmar; Tobias Elfner; Philipp Becker
- Web page: https://patentgrep.com/patent/US20150149745A1

## CPC

- G06F 8/445: {Exploiting fine grain parallelism, i.e. parallelism at instruction level (run-time instruction scheduling G06F9/3836)}
- G06F 9/526: {Mutual exclusion algorithms}
- G06F 2209/523: Mode
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one general aspect, a method can include executing multiple functions calls in parallel, and receiving, by each function call, at least one data object passed as a parameter to the function call, the at least one data object associated with a data sharing mode that defines a restricted subset of allowed operations for performing by the function call on the at least one data object. The method can further include performing, by each function call, at least one operation on the at least one data object, the at least one operation included in the restricted subset of allowed operations, and performing at least one check to ensure that the at least one operation performed by the function call on the at least one data object received by the function call is included in the restricted subset of allowed operations.

## Claims

### Claim 1

A method comprising:
executing multiple functions calls in parallel;
receiving, by each function call, at least one data object passed as a parameter to the function call, the at least one data object associated with a data sharing mode that defines a restricted subset of allowed operations for performing by the function call on the at least one data object;
performing, by each function call, at least one operation on the at least one data object received by the function call, the at least one operation included in the restricted subset of allowed operations defined by the data sharing mode associated with the at least one data object; and
performing at least one check to ensure that the at least one operation performed by the function call on the at least one data object received by the function call is included in the restricted subset of allowed operations defined by the data sharing mode associated with the at least one data object.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data sharing mode is one of an exclusive access level, a shared read access level, and shared container write access level.

### Claim 3 (depends on 2)

The method of claim 2, wherein the data sharing mode is the exclusive access level, and the restricted subset of allowed operations includes a read operation and a write operation.

### Claim 4 (depends on 2)

The method of claim 2, wherein the data sharing mode is the shared read access level, and the restricted subset of allowed operations includes a read operation.

### Claim 5 (depends on 2)

The method of claim 2, wherein the data sharing mode is the shared container write access level, and the restricted subset of allowed operations includes a container write operation and a metadata read operation.

### Claim 6 (depends on 1)

The method of claim 1, wherein the at least one data object passed as a parameter to the function call is initialized during the passing of the parameter.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
creating a quantity of data partitions;
creating multiple instances of a worker function; and
associating each instance of the worker function with a respective different one of the quantity of data partitions, wherein executing multiple functions calls in parallel comprises executing the multiple instances of the worker functions in parallel.

### Claim 8 (depends on 7)

The method of claim 7, wherein receiving, by each function call, at least one data object passed as a parameter to the function call comprises receiving, by each instance of the worker function, the at least one data object passed as a parameter to the instance of the worker function from the data partition associated with the instance of the worker function.

### Claim 9 (depends on 1)

The method of claim 1, wherein performing at least one check comprises performing an aliasing check, the aliasing check being one of a runtime check or a compile-time optimization.

### Claim 10 (depends on 9)

The method of claim 9, wherein performing the aliasing checking comprises checking an alias type associated with an alias, the alias type being one of a value type, an atomic reference type, a composite type, and a hidden type.

### Claim 11

A computing system including one or more processors, and a computer-readable medium coupled to the computing system having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
executing multiple functions calls in parallel;
receiving, by each function call, at least one data object passed as a parameter to the function call, the at least one data object associated with a data sharing mode that defines a restricted subset of allowed operations for performing by the function call on the at least one data object;
performing, by each function call, at least one operation on the at least one data object received by the function call, the at least one operation included in the restricted subset of allowed operations defined by the data sharing mode associated with the at least one data object; and
performing at least one check to ensure that the at least one operation performed by the function call on the at least one data object received by the function call is included in the restricted subset of allowed operations defined by the data sharing mode associated with the at least one data object.

### Claim 12 (depends on 11)

The system of claim 11, wherein the data sharing mode is one of an exclusive access level, a shared read access level, and shared container write access level.

### Claim 13 (depends on 12)

The system of claim 12, wherein the data sharing mode is the exclusive access level, and the restricted subset of allowed operations includes a read operation and a write operation.

### Claim 14 (depends on 12)

The system of claim 12, wherein the data sharing mode is the shared read access level, and the restricted subset of allowed operations includes a read operation.

### Claim 15 (depends on 12)

The system of claim 12, wherein the data sharing mode is the shared container write access level, and the restricted subset of allowed operations includes a container write operation and a metadata read operation.

### Claim 16 (depends on 11)

The system of claim 11, wherein the at least one data object passed as a parameter to the function call is initialized during the passing of the parameter.

### Claim 17 (depends on 11)

The system of claim 11, the operations further comprising:
creating a quantity of data partitions;
creating multiple instances of a worker function; and
associating each instance of the worker function with a respective different one of the quantity of data partitions, wherein executing multiple functions calls in parallel comprises executing the multiple instances of the worker functions in parallel.

### Claim 18 (depends on 17)

The system of claim 17, wherein the operation of receiving, by each function call, at least one data object passed as a parameter to the function call comprises receiving, by each instance of the worker function, the at least one data object passed as a parameter to the instance of the worker function from the data partition associated with the instance of the worker function.

### Claim 19 (depends on 11)

The system of claim 11, wherein the operation of performing at least one check comprises performing an aliasing check, the aliasing check being one of a runtime check or a compile-time optimization.

### Claim 20 (depends on 19)

The system of claim 19, wherein the operation of performing the aliasing checking comprises checking an alias type associated with an alias, the alias type being one of a value type, an atomic reference type, a composite type, and a hidden type.
