Cross-platform asynchronous message processing method and device, equipment and storage medium
A technology of asynchronous message and processing method, which is applied in the directions of multi-program device, electrical digital data processing, program control design, etc., can solve the problems of complex implementation, and achieve the effect of easy integration, highlighting substantive features, and high efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0058]There are the following common asynchronous task implementation schemes: one is to create a thread for each task, so that other tasks can continue to run in the main thread, and in the message processing thread, waiting for the response of the message . The advantage of this scheme is that it is simple to implement, but the disadvantage is that each task needs to enable a separate thread, which consumes a lot of system resources when there are too many tasks. Another implementation scheme is to generate a device descriptor for each event, and then add the device descriptor to the system monitoring through the system's IO multiplexing technology to realize the notification of the response message. The advantage of this scheme is that a single thread can manage multiple events, but the disadvantage is that the implementation is complex, and different system implementations need to be adapted. In order to solve the problem of high system resource consumption, complex imple...
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