Skip to content

cacharle/philosophers

Repository files navigation

philosophers

philosophers project of school 42.

Learning about threads, process, mutex and semaphore.

Usage

$ 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

$ ./clean_philo_three