Skip to content
Snippets Groups Projects
Commit 4280ff14 authored by erwan's avatar erwan
Browse files

Breaking: remove Algo.pid and Algo.spid, and add the pid in the init function

The  rationale is  that the  Algo.spid that  gave processes  access to
their pid via their neighbors was a bit weird. Also, it makes the anonymity
of the algorithm more explicit: an access to the pid could appear anywhere
in the program, while now, the pid must be in state.t!

Now, if the  user needs the pid,  he must store it  explicitly in the
state via the initialization function.
parent 5daf53c9
No related branches found
No related tags found
No related merge requests found
Showing
with 95 additions and 127 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment