Method for preventing abnormal deadlock of main unit during access to shared devices
A technology for sharing equipment and exceptions, applied in the fields of instruments, multi-programming devices, electrical digital data processing, etc., can solve problems such as deadlocks, and achieve the effect of solving deadlocks and realizing simplicity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The present invention will be further described below in conjunction with the accompanying drawings and implementation examples.
[0033] figure 1 It is a flow chart of avoiding deadlock caused by accessing shared devices in the present invention. Such as figure 1 As shown, the process includes the following steps:
[0034] Step 101, setting a global access conflict flag for the shared device in the program.
[0035] Step 102, setting the retry times value of shared device access in the low priority task.
[0036] Step 103, start the shared device in the low priority task and set a timeout count value.
[0037] Step 104, inquire whether the shared device operation completion flag is set to 1 in the low-priority task, if the flag is set to 1, then clear it to 0, and clear the shared device access conflict flag to 0, indicating that the low-priority task If the access to the shared device is successfully completed, other operations in the low-priority tasks can be pe...
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