Giter Site home page Giter Site logo

mtking2 / dining-philosophers Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 13.0 1.12 MB

Various flavored solutions to the Dining Philosophers problem.

License: GNU General Public License v3.0

Python 12.59% C++ 21.06% Ruby 9.12% Java 11.23% C# 9.72% C 10.75% Go 13.66% Rust 11.87%
multithreading threading resource-management mutex semaphore dining-philosophers dining-philosophers-problem hacktoberfest

dining-philosophers's Introduction

Various object-oriented solutions to the Dining Philosophers Problem

Variants:

Contributing

Rules

I only ask for two requirements when contributing:

  1. You must provide a working solution to the DPP
  2. Your solution must be Object Oriented (or close to it, using structs or the like)

How to Contribute

  1. Fork and clone this repo
  2. 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>/
  3. 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
  4. Add a link to the top-level README.md to your new solution
  5. Open a PR

License

GNU GPL v3.0, see LICENSE

dining-philosophers's People

Contributors

lywc20 avatar mtking2 avatar rishidesai17 avatar uravgkarthik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dining-philosophers's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.