Skip to content
#

state-logging

Here is 1 public repository matching this topic...

Language: C
Filter by language

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.

  • Updated Aug 5, 2024
  • C

Improve this page

Add a description, image, and links to the state-logging topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the state-logging topic, visit your repo's landing page and select "manage topics."

Learn more