A low-power idle waiting method in multi-thread mode
A multi-threaded, low-power technology, applied in the waiting field, can solve the problems of inconsistent processing accuracy, reduced system running speed, high usage rate, etc. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
[0026] Such as figure 1 As shown, the low-power idle waiting method in the multi-thread mode of the present invention is a usleep alternative method that can greatly reduce CPU usage and power consumption.
[0027] The main steps of this method are:
[0028] (1) When multiple threads of the system need to enter the waiting state, create an independent timing thread for calling the conditional waiting function provided by the system;
[0029] (2) When a thread needs usleep, judge the calling condition:
[0030] 1) If the precision requirement is high, directly call the usleep function;
[0031] 2) If the waiting time is greater than the set threshold, directly call the usleep function;
[0032] 3) Otherwise, call the conditional waiting function instead, t...
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