next up previous
Next: Global State Up: Figures in the book Previous: Drinking Philosophers Problem

Leader Election

Figure: The leader election algorithm at $P_i$
\fbox{\begin{minipage}{\textwidth}\sf
\begin{tabbing}
x\=xxxx\=xxxx\=xxxx\=xxxx\...
...neq myid)$ then $send(leader,j)$ to $P_{i-1}$;\\
\end{tabbing}\end{minipage}}



Vijay K. Garg 2005-02-08