From ebbd81e4312d945b359d2761acfeb613da1f98c8 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 9 Jan 2021 14:40:23 +0100 Subject: Added antidead lock in philo_one --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7b9d21d..d47ec62 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,22 @@ # philosophers -philosophers project of school 42 +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 +``` -- cgit