Thread pool management method and system
A management method and thread pool technology, applied in the field of communications, can solve problems such as reduction, thread hang, and excessive time, and achieve the effects of avoiding a large backlog, reducing execution time, and improving operating efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] In the embodiment of the present invention, a task execution monitoring function is added to the thread pool management function to find out whether there is a task running timeout, a new thread is created in time when there is a task running timeout, and the newly created thread is used to execute the running timeout thread. The corresponding tasks are executed, thereby improving the regeneration of the thread pool and the efficiency of task execution. The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0021] Usually, the thread pool mainly includes the following components:
[0022] Thread Pool Manager (ThreadPoolManager): used to create and query thread pools, that is, to maintain all thread pools in the application;
[0023] Thread pool implementation class (ThreadPoolImpl): used to maintain a thread pool, including the creation, destruction, operation monitoring, message backlog control, task a...
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