Deadlock control method and device
A control method and deadlock technology, applied in multi-programming devices, program control design, instruments, etc., can solve the problems of program running error, lost data, large running error, etc., to avoid fatal damage, solve deadlock problems, The effect of ensuring accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0021] The core idea of the present invention is to modularize the codes requesting shared resources in the program codes of threads in advance, and adopt the method of thread rollback when a deadlock occurs, and select the thread with low rollback cost to roll back and release resources. In this way, the deadlock can be solved simply and quickly, and at the same time, since the execution of the thread does not need to be canceled, the problem of large operating errors caused by changes in the operating environment can be avoided.
[0022] figure 1 It is a schematic flow diagram of the method of the embodiment of the present invention, such as figure 1 As shown, the deadlock control method implemented in this embodiment mainly includes...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

