Thread pool managing method and system
A management method and thread pool technology, applied in the field of thread pool management methods and management systems, can solve problems such as threads that cannot be accurately detected in a timely manner
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0057] The present invention will be further explained below in conjunction with the accompanying drawings and embodiments.
[0058] figure 2 It is a flow chart of the first embodiment of the thread pool management method of the present invention, such as figure 2 As shown, in this embodiment, the thread pool management method includes the following steps:
[0059] S1. Create a worker thread and send the worker thread to the thread pool queue;
[0060] S2, creating a detection thread;
[0061] S3. Call the worker thread in the thread pool queue to execute the task;
[0062] S4, detect whether the heartbeat signal of each working thread is received in the heartbeat cycle by detecting the thread;
[0063] S5. Setting the worker thread that has not received the heartbeat signal within the heartbeat cycle to a state of suspended animation through the detection thread, releasing all its resources, and notifying the user of the error location through the user interface.
[00...
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