blob: d47ec62dd4a336bac659ddbef8f5ed51f9d6ecdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# philosophers
philosophers project of school 42.
Learning about threads, process, mutex and semaphore.
## Usage
```command
$ make philo_one
$ ./philo_one/philo_one 4 410 200 200
$ make philo_two
$ ./philo_two/philo_two 4 410 200 200
$ make philo_three
$ ./philo_three/philo_three 4 410 200 200
```
### Kill zombie process after Ctrl-C on philo_three
```command
$ ./clean_philo_three
```
|