Chandy-Misra Hass Algorithm
Chandy-Misra Hass Algorithm
v=jAWBIIiZXTE
https://www.youtube.com/watch?v=b9G3cwLygPs
Chandy-Misra-Haas’s distributed deadlock
detection algorithm
Chandy-Misra-Haas’s distributed deadlock detection AND Model
algorithm is an edge chasing algorithm to detect deadlock in distributed
systems.
In edge chasing algorithm, a special message called probe is used in
deadlock detection. A probe is a triplet (i, j, k) which denotes that
process Pi has initiated the deadlock detection and the message is being
sent by the home site of process Pj to the home site of process Pk.
The probe message circulates along the edges of Wait for Graph (WFG)
to detect a cycle. When a blocked process receives the probe message, it
forwards the probe message along its outgoing edges in WFG. A process
Pi declares the deadlock if probe messages initiated by process P i returns to
itself.