Thread priority adjusting method, terminal, and computer-readable storage medium
AssigneeZte Corporation
InventorsHongxia Liu, Meisi Ruan
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a thread priority adjusting method, a terminal, and a computer readable storage medium. The method may include: monitoring a state of at least one thread; in a case where the at least one thread is detected to be in a preset blocked state, detecting a running states and an associated state of respective threads in the same process; and according to the running state and the associated state of the respective threads, adjusting the priority of one or at least two threads in the same process.
Claims21
A thread priority adjusting method, comprising:
- monitoring a state of at least one thread;
- detecting a running state and an association state of respective threads in the same process in a case where the at least one thread is detected to be in a preset blocked state;
- and
- performing priority adjustment on one or at least two threads in the same process according to the running state and the association state of the respective threads.
(canceled)
A terminal, comprising:
- a processor;
- a memory;
- and
- a communication bus configured to realize connection and communication between the processor and the memory,
- wherein the processor is configured to execute at least one computer program stored in the memory to implement:
- monitor a state of at least one thread;
- detect a running state and an association state of respective threads in the same process in a case where the at least one thread is detected to be in a preset blocked state;
- and
- perform priority adjustment on one or at least two threads in the same process according to the running state and the association state of the respective threads.
A computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer program, and the at least one program are executed by at least one processor to:
- monitor a state of at least one thread;
- detect a running state and an association state of respective threads in the same process in a case where the at least one thread is detected to be in a preset blocked state;
- and
- perform priority adjustment on one or at least two threads in the same process according to the running state and the association state of the respective threads.
Dependencies are inferred from the claim text.