IOCP mechanism and Internet of Things communication acceleration system based on eFPGA and IOCP
A technology for accelerating systems and the Internet of Things, applied in the field of network communication, can solve problems such as network congestion, and achieve the effect of speeding up and increasing bandwidth
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Such as figure 1 As shown, this embodiment provides an IOCP mechanism, which includes the following steps:
[0029] S1: Start the application, create a main thread for processing socket connection transactions and N worker threads for processing asynchronous I / O requests, and register an I / O completion callback function when creating worker threads;
[0030] S2: Store the created worker threads in the thread pool in a stack;
[0031] S3: Initiate an I / O request and establish a Socket connection. After the main thread completes the connection, it associates Socket with IOCP and puts the I / O request into the first-in first-out FIFO message queue. The worker thread processes the I / O request, and the main thread does Be freed to continue listening for new I / O requests;
[0032] S4: The thread pool uses a first-in-last-out FIFO method to schedule one of the idle worker threads among several worker threads to process I / O requests;
[0033] S5: After the called worker thread completes ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



