The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jun. 12, 2018

Filed:

Jun. 12, 2015
Applicant:

Huawei Technologies Co., Ltd., Shenzhen, CN;

Inventors:

Lin Gu, Hong Kong, HK;

Zhiqiang Ma, Hong Kong, HK;

Zhonghua Sheng, Hong Kong, HK;

Liufei Wen, Shenzhen, CN;

Assignee:
Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 9/455 (2018.01); G06F 9/52 (2006.01);
U.S. Cl.
CPC ...
G06F 9/52 (2013.01); G06F 9/455 (2013.01); G06F 9/45558 (2013.01); G06F 2009/45583 (2013.01);
Abstract

A task processing method and virtual machine are disclosed. The method includes selecting an idle resource for a task; creating a global variable snapshot for a global variable; executing the task, in private memory space in the selected idle resource; after the execution of the task is complete, acquiring a new global variable snapshot corresponding to the global variable, and acquiring an updated global variable according to a local global variable snapshot and the new global variable snapshot; and determining whether a synchronization variable of a to-be-executed task in a task synchronization waiting queue includes the current updated global variable, and if the synchronization variable of the to-be-executed task in the task synchronization waiting queue includes the current updated global variable, putting the task into a task execution waiting queue.


Find Patent Forward Citations

Loading…