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 --- clean_philo_three | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 clean_philo_three (limited to 'clean_philo_three') diff --git a/clean_philo_three b/clean_philo_three new file mode 100755 index 0000000..64e53bc --- /dev/null +++ b/clean_philo_three @@ -0,0 +1,3 @@ +#!/bin/sh + +ps aux | grep philo_three | tr -s ' ' | cut -d ' ' -f 2 | xargs kill -9 -- cgit