Task allocation method and device, electronic equipment, server and storage medium
An allocation method and task allocation technology, applied in the computer field, can solve problems such as thread pool starvation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0091] As an optional implementation, the device also includes:
[0092] The second assignment module is configured to, if there is a first thread pool corresponding to the task identifier of the task to be assigned, then in the mapping relationship between the task identifier, the number of tasks and the thread pool, the task identifier of the task to be assigned corresponds to Add 1 to the number of tasks, and assign the to-be-allocated tasks to the first thread pool.
[0093] As an optional implementation, the device also includes:
[0094] The modification module is configured to subtract 1 from the number of tasks corresponding to the task identifier of the task to be assigned in the mapping relationship between the task identifier, the number of tasks and the thread pool after the execution of the task to be assigned is completed.
[0095] As an optional implementation, the device also includes:
[0096] The deletion module is configured to delete the task identifier o...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


