Multi-task processing method and device, processor and storage medium

The invention provides a multi-task processing method and device, a processor and a storage medium, and belongs to the technical field of computers. The method comprises the steps that a service thread, an external strategy thread and an internal strategy thread are created, the service thread is us...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN LONG, ZHANG LEI, NIE SHENGFU, WANG ZHENLIN, ZHANG YANJIE, ZHANG CHENGCHENG, GU SITING, NING JIAO, LI YAN, WANG WENQIANG, YUAN YANFANG, LI YANCHAO, YANG ZHENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a multi-task processing method and device, a processor and a storage medium, and belongs to the technical field of computers. The method comprises the steps that a service thread, an external strategy thread and an internal strategy thread are created, the service thread is used for executing services, the external strategy thread is used for adjusting the priority of the services on the service thread to a first priority, and the internal strategy thread is used for regularly adjusting the priority of queuing services to a second priority; the priority of the external policy thread, the priority of the internal policy thread, the first priority, the second priority and the default priority of the service thread are sequentially reduced; in response to a priority adjustment request sent by the outside, modifying the priority of the target service through an external strategy thread, and executing the corresponding service based on the modified priority; and closing a timer on the intern