Various object-oriented solutions to the Dining Philosophers Problem
I only ask for two requirements when contributing:
- You must provide a working solution to the DPP
- Your solution must be Object Oriented (or close to it, using structs or the like)
- Fork and clone this repo
- Add code for the new variant
- If you want to add a different solution to an already existing language then simply put it in a sub-directory under that language like so:
<language_dir>/<my_variant_dir>/
- If you want to add a different solution to an already existing language then simply put it in a sub-directory under that language like so:
- Create a
README.md
for your variant that describes:- The language used.
- The methods used in the solution (i.e. Mutex/Semaphore, Arbitrator, Chandy/Misra)
- Instructions on how to run the code
- Add a link to the top-level
README.md
to your new solution - Open a PR
GNU GPL v3.0, see LICENSE