Method and apparatus for updating shared data in a multi-core processor environment
AssigneeAdvanced New Technologies Co., Ltd.
InventorsLing Ma, Changhua He
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced New Technologies Co., Ltd.
InventorsLing Ma, Changhua He
Estimating the term…
Embodiments of the specification provide a method and an apparatus for updating shared data in a multi-core processor environment. The multi-processor environment comprises a multi-core processor. The multi-core processor comprises a plurality of separate processing units (referred to as cores, or core processing units (CPUs) in the specification); the multi-core processor is configured to process a multi-threaded task; the multi-threaded task has shared data to update. The method is executed by any CPU. The method may comprise: requesting, by a first CPU, for a lock to execute a critical section function on the shared data, wherein the lock provides permission to update the shared data, and the critical section function updates the shared data; and setting, by the first CPU if the lock is occupied by a second CPU, a memory index corresponding to the critical section function in a memory of the lock for the second CPU to execute the critical section function based on the memory index.
A method for updating shared data in a multi-core processor environment, wherein the multi-core processor comprises a plurality of CPUs, the method comprising:
An apparatus for updating shared data in a multi-core processor environment, wherein the apparatus comprises a first CPU configured to execute one or more operations comprising:
A method for updating shared data in a multi-core processor environment, comprising:
A method for updating shared data in a multi-core processor environment, comprising:
Dependencies are inferred from the claim text.