mzsv / 42PHILOSOPHERS_bonus

Philosophers tackles the "Dining Philosophers" problem, focusing on concurrency issues such as deadlock and starvation. It simulates philosophers as threads/processes using mutexes/semaphores for fork management. The program logs state changes and detects starvation, ending when a philosopher dies or all have eaten a specified number of times.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mzsv/42PHILOSOPHERS_bonus Stargazers