Method for designing thread pool capable of ensuring temporal succession
A design method and thread pool technology, applied in multi-programming devices, resource allocation, etc., can solve problems such as inversion of data time continuity, and achieve the best concurrency performance and completely consistent time continuity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] Such as figure 1 It can be seen that for a task arriving at the thread pool, the task distribution module first searches the mapping table for the thread ID that the task needs to deliver according to the task ID, and then sends the task to the task queue of the corresponding thread. Request a new task execution in the task queue, and then output the result.
[0053] figure 2 It is the process of adding new tasks to the thread pool. The specific steps are as follows:
[0054] Step 201, using the load value calculation formula to calculate the load value of the task according to the frequency of the newly added task.
[0055] Step 202, using sequential traversal to find out one of the threads with the smallest load value among all the threads.
[0056] Step 203, add the load value to the minimum load thread found in 202.
[0057] Step 204, using the variance calculation formula to calculate the load variance of all threads in the thread pool.
[0058] Step 205, judgi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com