diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-01-09 14:40:23 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-01-09 14:40:23 +0100 |
| commit | ebbd81e4312d945b359d2761acfeb613da1f98c8 (patch) | |
| tree | 5ac8f109d8f840e57f001b4739a1b2472a0a2df2 /README.md | |
| parent | a69a877b3a2758aafe3de0db87a56063b28ed00f (diff) | |
| download | philosophers-ebbd81e4312d945b359d2761acfeb613da1f98c8.tar.gz philosophers-ebbd81e4312d945b359d2761acfeb613da1f98c8.tar.bz2 philosophers-ebbd81e4312d945b359d2761acfeb613da1f98c8.zip | |
Added antidead lock in philo_one
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -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 +``` |
