aboutsummaryrefslogtreecommitdiff
path: root/philo_two/src
AgeCommit message (Collapse)Author
2021-01-10Fixing bad performance at school by adding more delay to the death checking ↵Charles Cabergs
loop, Added mutex/semaphore to protect against eating and dying at the same time
2021-01-09Added separate thread to check if max meal num is reached independent from ↵Charles Cabergs
philosopher death
2021-01-08Add sem_grab in philo_two and philo_three to fix philosophers each taking 1 forkCharles Cabergs
2021-01-08Added separate thread to flush buffer in philo_one and philo_twoCharles Cabergs
2021-01-04Added buffered output, Added waiting for all to be startedCharles Cabergs
2021-01-03Added h_sleep instead of usleep for better precisionCharles Cabergs
2021-01-03Fixing philo_one/philo_two dying by sleeping more when checking the death, ↵Charles Cabergs
Fixing timestamp in the wrong order in philo_three
2021-01-02Fixing infinite wait on philo_two/philo_three when philo dies and meal_num ↵Charles Cabergs
argument on
2021-01-02Updated philo_two with philo_three logic, Norming philo_two and philo_threeCharles Cabergs
2021-01-01Fixing meal num for philo_threeCharles Cabergs
2021-01-01Added meal counter to philo_two (still segfault 10% of the time)Charles Cabergs
2020-12-31Added usleep in death checking threadsCharles Cabergs
2020-10-24Replacing mutex stdout by semaphore in philo two, Compilation on LinuxCharles Cabergs
2020-10-05Norming and destroy on errorCharles Cabergs
2020-10-05NormingCharles Cabergs
2020-09-30Renaming io_* -> event_*, Changed philo_put with only 1 write callCharles Cabergs
2020-09-30Refactoring philo_two to work with new common lib (not working)Charles Cabergs
2020-09-29philo_two file restructurationCharles Cabergs