Content deleted Content added
m Date/fix the maintenance tags using AWB |
m Open access bot: url-access updated in citation with #oabot. |
||
(29 intermediate revisions by 24 users not shown) | |||
Line 1:
{{More citations needed|date=February 2022}}
'''Huang's
==
The basis of termination detection is in the concept of a distributed system process' state. At any time, a process in a distributed system is either in an active state or in an idle state. An active process may become idle at any time but an idle process may only become active again upon receiving a computational message.
Termination occurs when all processes in the distributed system
==
Huang's
* Initially all processes are idle.
* A distributed task is started by a process sending a computational message to another process. This initial process to send the message is the "controlling agent".
Line 15:
** A process sending a message splits its current weight between itself and the message.
** A process receiving a message adds the weight of the message to itself.
** Upon becoming idle, a process sends a message containing its entire weight back to the controlling agent and it goes idle.
** Termination occurs when the controlling agent has a weight of <math>w</math> and is in the idle state.
Some weaknesses to Huang's
==See also==
* [[Dijkstra–Scholten algorithm]]
==Notes==
{{reflist}}
{{DEFAULTSORT:Huang's Algorithm}}
[[Category:Termination algorithms]]
|