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

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

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.