Thread scheduling method based on terminal equipment, terminal equipment and medium

The embodiment of the invention provides a thread scheduling method based on terminal equipment, the terminal equipment and a medium. The method is applied to a processor of the terminal equipment, a first thread and a first process run in the processor, a cache region is arranged in the processor,...

Full description

Saved in:
Bibliographic Details
Main Authors XIN ZHENWEN, CHEN CHUANFU
Format Patent
LanguageChinese
English
Published 30.04.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The embodiment of the invention provides a thread scheduling method based on terminal equipment, the terminal equipment and a medium. The method is applied to a processor of the terminal equipment, a first thread and a first process run in the processor, a cache region is arranged in the processor, and the method comprises the steps that when it is determined that the cache region needs to be released based on the first thread, a release instruction is sent to a kernel layer of the processor based on the first thread, the release instruction is used for indicating to release task data in the cache region; modifying the processing priority of the second thread from the first priority to a second priority based on the kernel layer according to the release instruction; the processing priority of the second priority is higher than that of the first priority; and sending a release instruction to a second thread in the first process based on a kernel layer of the processor, and releasing the task data in the cache
Bibliography:Application Number: CN202211349182