Title:
STACKLESS COROUTINE IMPLEMENTATION METHOD AND APPARATUS, AND DEVICE AND STORAGE MEDIUM
Document Type and Number:
WIPO Patent Application WO/2023/231320
Kind Code:
A1
Abstract:
The present application relates to the field of computers. Disclosed are a stackless coroutine implementation method and apparatus, and a device and a storage medium. The stackless coroutine implementation method comprises: acquiring a source file of a stackless coroutine, wherein the source file comprises a coroutine function; extracting a local variable comprised in the coroutine function by using a syntactic analyzer; encapsulating the local variable into a structural body on a heap; allocating a structural body pointer to the structural body; and replacing the local variable with the structural body pointer, so as to obtain a target file corresponding to the source file.
More Like This:
Inventors:
XIAO LIANG (CN)
Application Number:
PCT/CN2022/133331
Publication Date:
December 07, 2023
Filing Date:
November 21, 2022
Export Citation:
Assignee:
QINGDAO HAIER TECHNOLOGY CO (CN)
HAIER SMART HOME CO LTD (CN)
HAIER SMART HOME CO LTD (CN)
International Classes:
G06F8/73
Foreign References:
CN115113922A | 2022-09-27 | |||
US20090307431A1 | 2009-12-10 | |||
CN107992344A | 2018-05-04 |
Attorney, Agent or Firm:
LEADER PATENT & TRADEMARK FIRM (CN)
Download PDF: