https://github.com/austinjhunt/dpvisualizationtool
This is a tool written in Python to visualize the Dining Philosophers problem; the timings are set to create eventual deadlock, but decreasing or removing the time of holding the second chopstick will greatly reduce likelihood of deadlock.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.7%) to scientific vocabulary
Repository
This is a tool written in Python to visualize the Dining Philosophers problem; the timings are set to create eventual deadlock, but decreasing or removing the time of holding the second chopstick will greatly reduce likelihood of deadlock.
Basic Info
- Host: GitHub
- Owner: austinjhunt
- Language: Python
- Default Branch: master
- Size: 4.64 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
This is a tool written in Python to visualize the Dining Philosophers problem; the timings are set to create eventual deadlock, but decreasing or removing the time of holding the second chopstick will greatly reduce likelihood of deadlock.
HOW TO USE:
Open terminal. Clone the repository. Open the DiningPhilosophers project in an IDE of your choice (I use PyCharm) In the IDE, run backendThreads.py. to adjust when deadlock occurs, increase or decrease the time.sleep() function used in the second mutex lock of the eat() function.
Owner
- Name: Austin Hunt
- Login: austinjhunt
- Kind: user
- Location: Greenville, SC
- Company: College of Charleston
- Website: https://austinjhunt.com
- Twitter: austinsketches
- Repositories: 20
- Profile: https://github.com/austinjhunt
Portrait-artist-turned-computer-geek with a fused love for the visual and the technical, bringing experience with and excitement for web dev, automation, & art
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- austinjhunt (3)