Patent ID: 9286139
Filing Date: 2016-03-15
CPC Classification: G06F

Claim Text:
1. A computer-readable storage medium comprising executable instructions that when executed by a processor cause the processor to effectuate operations comprising: executing a call to a first asynchronous method comprising a first instruction and a second instruction, wherein the first asynchronous method accesses a shared memory space which may be used by a second asynchronous method executing in parallel to the first asynchronous method; determining that the first instruction is not permitted to be executed in the first asynchronous method, and, in response, placing the first instruction in a queue; determining that the second instruction is permitted to be executed in the first asynchronous method, and, in response, executing the second instruction; determining whether the shared memory space has been altered by the second asynchronous method executing in parallel to the first asynchronous method since the first asynchronous method started executing; responsive to determining that the shared memory space has not been altered by the second asynchronous method since the first asynchronous method started executing, committing a change made to the shared memory space by the first asynchronous method; and responsive to committing the change made to the shared memory space by the first asynchronous method, executing the first instruction from the queue.