https://github.com/abdelbenamara/philosophers
42 Philosophers project
https://github.com/abdelbenamara/philosophers
2023 42 c makefile philosophers
Last synced: over 1 year ago
JSON representation
42 Philosophers project
- Host: GitHub
- URL: https://github.com/abdelbenamara/philosophers
- Owner: abdelbenamara
- Created: 2023-11-04T12:42:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T11:12:50.000Z (over 2 years ago)
- Last Synced: 2025-01-26T03:13:42.039Z (over 1 year ago)
- Topics: 2023, 42, c, makefile, philosophers
- Language: C
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Philosophers
## Compile
```
make -C philo
```
```
make -C philo_bonus
```
```
make -C philo_bonus bonus
```
## Usage
```
philo number_of_philosophers time_to_die time_to_eat time_to_sleep [number_of_times_each_philosopher_must_eat]
```
```
philo_bonus number_of_philosophers time_to_die time_to_eat time_to_sleep [number_of_times_each_philosopher_must_eat]
```
## Visualize
Copy and paste logs [here](https://nafuka11.github.io/philosophers-visualizer/) thanks to [philosophers-visualizer](https://github.com/nafuka11/philosophers-visualizer) project.