modulepackage
0.0.0-20221111092854-27a42d3e61d9
Repository: https://github.com/grumlebob/peertopeer.git
Documentation: pkg.go.dev
# README
#How to run:
- Open 3 different terminals.
- Write in the first terminal: go run . 0
- Write in the second terminal: go run . 1
- Write in the third terminal: go run . 2
- After a random delay up to 5 seconds, all 3 nodes will attempt to enter the critical section
- If you want to request a client to the critical section, press Enter.
- If you want to see the robustness, spam enter in several terminals.
# Packages
No description provided by the author