-
公开(公告)号:US20230147786A1
公开(公告)日:2023-05-11
申请号:US17918515
申请日:2021-04-07
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xianfeng Zhang , Zaishang Wang , Fei Sun , Jixiao Han
IPC: G06F9/48
CPC classification number: G06F9/4831 , G06F9/4881
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.