Method for realizing timer
An implementation method and timer technology, applied in the direction of generating/distributing signals, multi-channel program devices, etc., can solve the problems of inconvenient software module overall transplantation, and achieve the effect of convenient transplantation, clear management and high precision
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment
[0023] This example adopts the scheme of the present invention to realize the timer.
[0024] First, the main thread creates a timer queue, initializes the timer queue, generates a head node for managing this queue, and facilitates various operations on this timer queue, such as adding, deleting, clearing, etc., and then the user The thread creates a software timer and initializes the timer parameters. The timer parameters include the timer ID number, the timer timeout time, the remaining time before the timer timeout, the timer linked list pointer, the timer queue synchronization lock mechanism, and the timer timeout operation. event, the main thread creates sub-threads according to the software timer created by the user, initializes the software clock through the hardware clock, completes the registration of the timer in the queue, and performs the locking operation of the queue operation shared lock during this process, and unlocks it after completion , the child thread pat...
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