Everyone has got to eat and sleep and think and potentially die! Welcome to the life of Philosophers!
-
Updated
Feb 17, 2023 - C
Everyone has got to eat and sleep and think and potentially die! Welcome to the life of Philosophers!
42 Philosophers: Philosophers is a project that involves solving the dining philosophers problem using threads and synchronization. The goal is to implement a solution where multiple philosophers can share a limited number of resources (such as forks) without encountering deadlocks or starvation.
philosophers with threads and mutex.
Extends the classic Dining Philosophers problem to a larger group of philosophers. The problem requires finding a solution that allows all the philosophers to eat without deadlock or starvation, even as the number of philosophers increases.
My solution to dining philosophers problem using threads, mutexes, processes and semaphores.
Zeno (of Citium) visualizes the progress of the philosophers' simulation.
🧠 Eat, Sleep, Spaghetti, repeat. This project is about learning how threads work by precisely timing a group of philosophers on when to pick up forks and eat spaghetti without dying from hunger.
I never thought philosophy would be so deadly
This is a 42 project. Philosophers dinner problem in C.
42 School Philosophers project: The Dining Philosophers Problem, written in C.
This project aims to simulate the classic synchronization challenge of the dining philosophers. It is about concurrent programming with threads and mutexes and processes.
🗿 🍝 A slightly modified problem about dining philosophers
Repository for 42 project called "philosophers".
Tester for the Dining philosophers of 42Cursus
Multi-threading with dinning philosophers problem
Add a description, image, and links to the 42philosophers topic page so that developers can more easily learn about it.
To associate your repository with the 42philosophers topic, visit your repo's landing page and select "manage topics."