I never thought philosophy would be so deadly
-
Updated
Mar 24, 2022 - C
I never thought philosophy would be so deadly
Dining philosophers problem as School21 (École 42) project
Philosophers is a simulation project written in C to discover threads and mutexes.
The regular Philosophers project from 2021. Note 100/100
I never thought philosophy would be so deadly
I’ve never thought philosophy would be so deadly.
Dining philosophers written both via threads and via processes.
Classical "Dinning philosophers problem" solution to illustrate posix threading and unix multiprocessing workflow.
A classic Dining philosophers problem solved with a multithreaded program. The program takes in the amount of philosophers, which is also the amount of forks available in the dining table. The program feeds the philosophers in turns with the limited resources (forks) when given reasonable input.
threads, mutexes, semaphores, shared memory, processes
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. 🍽️
This project is about learning how threads work
My philosophers proejct
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.
42 School Philosophers project: The Dining Philosophers Problem, written in C.
three ways to solve the problem about philosophers and forks
In this project, i am learn the basics of threading a process. i am learn how to make threads. i am discover the mutex.
Add a description, image, and links to the philosophers topic page so that developers can more easily learn about it.
To associate your repository with the philosophers topic, visit your repo's landing page and select "manage topics."