Timer implementation method
An implementation method and timer technology, applied in the computer field, can solve the problems affecting the normal use of the timing function and the decrease of the timing accuracy of the timer, so as to prevent the timing accuracy from being too low, reduce the calling time, and ensure normal operation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0011] The purpose of the present invention is to solve the problem in the prior art that the original timer is called frequently, which causes the timing accuracy of the original timer to decrease. The core idea of the present invention is to define a new timer in advance and initialize the new timer. The task executed by the timer, and the event of the task, the timing period of the event, and the callback function information corresponding to the event are registered in the registry of the new timer. The method includes: the new timer The timer acquires the semaphore regularly released by the original timer; the semaphore triggers the new timer, and the new timer inquires whether there is a timeout event in the registry preset in the timer , if there is, call the callback function corresponding to the event.
[0012] In order to enable those skilled in the art to better understand the content of the present invention, the content of the present invention will be further d...
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