Method for detecting task closed loop of multi-task operating system
An operating system and infinite loop technology, which is applied in the field of detecting multi-task operating system task infinite loop, can solve the problems of extra requirements and low accuracy, and achieve the effect of simple implementation method, utilization of system resources, and flexible implementation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] In order to better understand the present invention, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0021] In a multi-tasking operating system, considering that each task contains a loop body, the code in the loop body will be re-executed every time the task is rescheduled by the system kernel. If a statistical variable is added at the entry of the loop body , the value is incremented each time it is executed, so that each time the task is rescheduled, the value of the statistical variable will be incremented. If the task has an infinite loop, since the task has been running, the value of the statistical variable will remain unchanged from the beginning of the infinite loop. Using this feature of the task entity can be used to detect whether the task has occurred Infinite loop. If it is judged that the statistical variable value of the task is not zero and the time for which the statistica...
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