Concurrent program deadlock detection method based on Petri network MIP method
A technology of deadlock detection and programming, applied in the direction of multi-programming devices, etc., can solve problems such as the inability to guarantee that the program is free from deadlocks, economic losses, and catastrophic consequences, so as to avoid online computing costs, have certainty, and improve computing efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0027] figure 1 Be a kind of flow chart of the concurrent program deadlock detection method based on Petri net MIP method of the present invention, specifically comprise the following steps:
[0028] Step (1) Generate a control flow diagram (CFG) for the concurrent program to be tested according to its task set and resource set.
[0029] Taking the classic problem of "dining philosophers" as an example, such as figure 2As shown, the description is as follows: five philosophers sit around a round table, each philosopher has a plate of pasta in front of him, and a fork is placed between two adjacent plates. Each philosopher needs two forks to eat spaghetti, and must take the forks on his left and right two times, one at a time, but in no order. If you manage to get two forks, start eating and put down the forks when you're 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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap