Multi-thread task processing method and device and storage medium
A task processing and multi-threading technology, applied in the computer field, can solve problems such as high resource occupancy rate and poor business performance, and achieve the effects of increasing concurrency, reducing single-transaction delay, and high allocation efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] The system concurrently processes 10 business A and 20 business B. A is the No. 1 level task, and B is the No. 2 level task.
[0083] The multi-thread framework allows users to configure the maximum number of thread pools occupied by different levels of business. A single No. 1 business can allocate up to 10 threads, and a single No. 2 business can allocate up to 20 threads.
[0084] Through the above configuration, it can be determined that the maximum number of threads in the thread pool of the current framework=12*10+20*20=520.
[0085] The thread pool is processing a business, and confirms that the business belongs to the No. 1 level business, and the current number of the business, such as number 7.
[0086] The business is split into multiple subtasks in the execution process, and each time a subtask is split, the subtask is added to the task queue numbered 7.
[0087] If the number of threads currently processing the task queue numbered 7 does not exceed 10, try...
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