https://github.com/suiramdev/42-philosophers
📓 Philosophers is a multi-threaded project that simulates the dining philosophers problem.
https://github.com/suiramdev/42-philosophers
Last synced: 8 days ago
JSON representation
📓 Philosophers is a multi-threaded project that simulates the dining philosophers problem.
- Host: GitHub
- URL: https://github.com/suiramdev/42-philosophers
- Owner: suiramdev
- Created: 2023-04-04T13:14:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T13:03:11.000Z (almost 3 years ago)
- Last Synced: 2025-02-25T16:39:56.706Z (over 1 year ago)
- Language: C
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> **WARNING** The "philosophers" project follows the norms set by the school 42, which some people may not agree with. Some users may feel that the structure of the project does not look aesthetically pleasing or intuitive due to the constraints imposed by these norms. However, it is important to remember that the purpose of the project is to teach students certain programming concepts and techniques, and the strict adherence to the norms set by the school is necessary to ensure that students are able to learn these concepts effectively.
# philosophers
Philosophers is a multi-threaded project that simulates the dining philosophers problem.
## How to run
Compile the solution with the Makefile provided, using the command `make`. This will create an executable (for linux), which you can run in the terminal, followed by the data file you want to display.
```
make && ./philo [number_of_times_each_philosopher_must_eat]
```