Invention Publication
- Patent Title: Thread Management Method and Apparatus
-
Application No.: US17918515Application Date: 2021-04-07
-
Publication No.: US20230147786A1Publication Date: 2023-05-11
- Inventor: Xianfeng Zhang , Zaishang Wang , Fei Sun , Jixiao Han
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Priority: CN 2010286426.3 2020.04.13
- International Application: PCT/CN2021/085817 2021.04.07
- Date entered country: 2022-10-12
- Main IPC: G06F9/48
- IPC: G06F9/48

Abstract:
In a thread management method, an application first information to an operating system through an API. The first information is used to indicate at least one first task to be executed by the application. The operating system allocates, by using the first information, the at least one first task to be executed by the application to a corresponding first task queue, and allocates a thread to the first task queue based on a current load level of the operating system and a type of the first task queue.
Information query