Fix the hunger_watcher loop
authorLukas Jiriste <ljiriste@student.42prague.com>
Tue, 28 May 2024 12:25:28 +0000 (14:25 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Tue, 28 May 2024 12:25:28 +0000 (14:25 +0200)
commit5e460a2ac4dd12d2d7becc6ed86a6b71ce3633bf
treeea6ec5cbeb1f8a9923706aa3d1580e8404796330
parent970ff5891b74a36d3e88e0b89e7a36cb8dd3acd9
Fix the hunger_watcher loop

The hunger_watcher should exit its loop when philo has no time left.
philo_bonus/hunger_watcher.c