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

https://github.com/buraktalhaa/diningphilosophers

A solution to the famous Dining Philosophers problem using the Token Ring approach.
https://github.com/buraktalhaa/diningphilosophers

algorithm dining-philosophers dining-philosophers-problem python semaphore synchronization token-ring

Last synced: 6 days ago
JSON representation

A solution to the famous Dining Philosophers problem using the Token Ring approach.

Awesome Lists containing this project

README

          

DINING PHILOSOPHERS PROBLEM WITH TOKEN RING SOLUTION

Hello, I'm Burak. This project contains a token ring solution in Python for solving the Dining Philosophers Problem. The Dining Philosophers Problem is a classic synchronization problem that simulates a group of philosophers sitting around a table, thinking and eating. Each philosopher shares two forks with their neighbors, left and right.