-
公开(公告)号:US10067793B2
公开(公告)日:2018-09-04
申请号:US15255715
申请日:2016-09-02
Applicant: Huawei Technologies Co., Ltd.
Inventor: Lixin Zhang , Biwei Xie
Abstract: A data processing method and apparatus, where the method comprises an operating system loads a task code to a reserved hardware thread such that the reserved hardware thread executes the task code subsequently after receiving a hardware thread reservation request. Alternatively, in a process in which an operating system loads a task code to a hardware thread for execution, the hardware thread loads the small task code to a reserved hardware thread for execution without a need to create a thread for a task code corresponding to each task when the hardware thread reads a flag of a small task code.
-
公开(公告)号:US20160371123A1
公开(公告)日:2016-12-22
申请号:US15255715
申请日:2016-09-02
Applicant: Huawei Technologies Co., Ltd.
Inventor: Lixin Zhang , Biwei Xie
IPC: G06F9/50
CPC classification number: G06F9/5005 , G06F9/50 , G06F9/5022 , G06F9/5027 , G06F2209/5018
Abstract: A data processing method and apparatus, where the method comprises an operating system loads a task code to a reserved hardware thread such that the reserved hardware thread executes the task code subsequently after receiving a hardware thread reservation request. Alternatively, in a process in which an operating system loads a task code to a hardware thread for execution, the hardware thread loads the small task code to a reserved hardware thread for execution without a need to create a thread for a task code corresponding to each task when the hardware thread reads a flag of a small task code.
Abstract translation: 一种数据处理方法和装置,其中所述方法包括操作系统将任务代码加载到保留的硬件线程,使得所保留的硬件线程在接收到硬件线程预留请求之后随后执行所述任务代码。 或者,在操作系统将任务代码加载到硬件线程用于执行的过程中,硬件线程将小任务代码加载到预留的硬件线程以执行,而不需要为对应于每个的任务代码创建线程 任务当硬件线程读取一个小任务代码的标志时。
-