TASK PROCESSING METHOD, APPARATUS, TERMINAL, AND COMPUTER READABLE STORAGE MEDIUM
This application discloses a task processing method and apparatus, a terminal, and a computer-readable storage medium, and relates to the field of computer technologies. The method includes: setting a quality of service class of a task, where the quality of service class is related to user perceptio...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This application discloses a task processing method and apparatus, a terminal, and a computer-readable storage medium, and relates to the field of computer technologies. The method includes: setting a quality of service class of a task, where the quality of service class is related to user perception; and configuring a priority of a thread executing the task as the quality of service class of the task, where the priority of the thread is used to indicate an execution sequence of the thread in the system. In this method, the execution sequence of the thread complies with the quality of service class of the task. In this way, a task with a higher quality of service class (namely, a task with higher user perception) is executed faster. This avoids, to some extent, freezing caused by excessively long task processing time. |
---|