Thread pool processing method and system capable of fusing synchronous and asynchronous features
A thread processing and thread pool technology, applied in the field of Internet communication processing, can solve problems such as difficulty in implementing task request priority execution order, inability to meet the short number of Internet processing, and achieve simple and convenient code maintenance, improved effect, and improved response speed. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, some terms involved in the embodiments of the present invention will be briefly explained below.
[0052] A thread, sometimes called a Lightweight Process (LWP), is the smallest unit of program execution flow. A standard thread consists of thread ID, current instruction pointer (PC), register set and stack.
[0053] Thread pool: A thread pool is a form of multi-threaded processing in which tasks are added to a queue and then processed automatically after threads are started.
[0054] refer to figure 1 As shown, the processing flow of the embodiment of the present invention specifically includes the following steps:
[0055] Step 10: The system receives information commands from each client, and stores the information commands in the global buffer queue in order.
[0056] Step 11: The main thread scheduler sequentially reads the identification numbers ...
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