Skip to content

Dining philosophers problem in several languages πŸ΄πŸ§πŸ€”πŸ˜‹

License

Notifications You must be signed in to change notification settings

yackx/philosophers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Dining philosophers

The classical Dining philosophers problem, in various programming languages.

Content

See some hint.

Each philosopher grabs the fork on their left, then the fork on their right. To avoid a deadlock where each philosophers has grabbed the fork on their left, but become unable to grab the fork on their right, the last philospher grabs the forks in reverse order (right then left).

License

GNU General Public License version 3

About

Dining philosophers problem in several languages πŸ΄πŸ§πŸ€”πŸ˜‹

Topics

Resources

License

Stars

Watchers

Forks