Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlosjorger/fivephilosopher
https://github.com/carlosjorger/fivephilosopher
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/carlosjorger/fivephilosopher
- Owner: carlosjorger
- Created: 2022-07-04T11:45:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T16:04:56.000Z (over 2 years ago)
- Last Synced: 2023-04-25T21:44:06.580Z (over 1 year ago)
- Language: C#
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)