https://github.com/radosz99/dining-philosophers
Dining Philosophers using Chandi-Misra algorithm
https://github.com/radosz99/dining-philosophers
chandi-misra-algorithm cpp17 dining-philosophers-problem
Last synced: 9 months ago
JSON representation
Dining Philosophers using Chandi-Misra algorithm
- Host: GitHub
- URL: https://github.com/radosz99/dining-philosophers
- Owner: radosz99
- License: apache-2.0
- Created: 2020-03-29T00:06:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-06T19:21:37.000Z (over 5 years ago)
- Last Synced: 2025-01-12T00:27:10.994Z (10 months ago)
- Topics: chandi-misra-algorithm, cpp17, dining-philosophers-problem
- Language: C++
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**
Operating Systems, Dining Philosophers
**
_________________________________
** Wrocław University of Science and Technology
**
** Computer Science, Faculty of Electronics, 6 semester
**
Radosław Lis, 241385
# Table of Contents
- [General info](#desc)
- [Prerequisites](#pre)
# General info
Program for solve and visualize the Dining Philosophers problem.
To run:
```
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./dining-philosophers
```
## Algorithm
[Chandi-Misra algorithm](https://www.stolaf.edu/people/rab/pdc/text/dpsolns.htm)
# Prerequisites
- [LINUX](https://www.virtualbox.org/),
- [GCC](https://gcc.gnu.org/),
- C++17 (scoped_lock).