Distributed deadlock detection method based on path propulsion
The invention relates to a distributed deadlock detection method based on path propulsion, and the method comprises the steps: 1, building a deadlock detection thread and a deadlock detection queue when each node is started; 2, enabling a lock module to initiate a remote lock request, and adding req...
Saved in:
Main Authors | , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
18.12.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a distributed deadlock detection method based on path propulsion, and the method comprises the steps: 1, building a deadlock detection thread and a deadlock detection queue when each node is started; 2, enabling a lock module to initiate a remote lock request, and adding request information into a deadlock detection queue; 3, regularly traversing the deadlock detection queue by the deadlock detection thread, and initiating a deadlock detection request; 4, enabling the deadlock detection process to send the deadlock detection request to the target node; 5, after the target node receives the deadlock detection request, carrying out deadlock detection request processing; 6, enabling the deadlock detection thread initiating the detection request to receive and processinformation returned by the target node; and 7, detecting deadlock, waking up the thread to which the request information belongs, unlocking the waiting chain, and continuing to execute the step 3. According to the method, ea |
---|---|
Bibliography: | Application Number: CN202010993466 |