Patent · US Active

Method and apparatus for scheduling task, device and medium

US11294714B2 · kind B2 · utility

0Cited by
2References
16Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJul 18, 2019
Grant dateApr 5, 2022
Priority date
Expiry dateDec 31, 2039

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/5027
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

The present disclosure provides a method and an apparatus for scheduling a task, a device and a medium. The method includes: obtaining a processing task to be executed from a task queue via a main thread bound to a processor, in which the processor is configured to execute the main thread, to execute the processing task; obtaining a newly triggered processing task; in response to determining that a priority of the newly triggered processing task is greater than or equal to a priority of the processing task executed on the main thread, assigning the newly triggered processing task to a standby thread; and dispatching and assigning a processor from at least one processor through the system kernel to execute the standby thread.

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