Patent · US Active

Task processing method and virtual machine

US9996401B2 · kind B2 · utility

1Cited by
3References
15Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 12, 2015
Grant dateJun 12, 2018
Priority date
Expiry dateFeb 4, 2036

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2009/45583
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.