Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/carlosjorger/fivephilosopher


https://github.com/carlosjorger/fivephilosopher

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

Problems:
- If two philosophers try to eat at the same time, then each tries to reach the same fork, (race condition).
- If all philosophers take the right fork, then everyone will be wainting forever for someone release the other fork. (deadlock)