Dining philosophers problem's guide for 42 school
-
Updated
Apr 12, 2023 - C
Dining philosophers problem's guide for 42 school
Philosophers is a comprehensive guide and solution to the classic Dining Philosophers Problem in computer science. This project uses the C programming language and multithreading to implement a solution that prevents deadlocks and resource conflicts.
Philosophers is a project from the 42 school curriculum that explores concurrent programming with threads and mutexes, processes and semaphores. It is a variation on the famous dining philosophers problem.
A simple POSIX threading library for MATLAB Coder
Philosophers: Concurrency and synchronization by simulating the "Dining Philosophers Problem". It demonstrates resource-sharing management using threads and mutexes, and processes and semaphores in the bonus part.
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 serves as an introduction to multithreading. The purpose was to build two different programs to solve the famous dining philosophers problem, each with different constraints.
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.
Notes, assignments, and projects for the Operating Systems course (CS306). Topics include process management, memory allocation, concurrency, and system calls.
[ARCHIVE/2014] OS-independent utils for C++
This project covers the fundamentals of multithreading in C, including thread creation and management.
In this project, I tackled the Philosopher's Problem. By coding the solution to this problem, I aimed to grasp the functioning and usage logic of threads in the C language, as well as learn how to effectively utilize mutexes.
Three tasks that teach how to work with mutexes, semaphores and forks.
The project simulates philosophers sharing a bowl of spaghetti, alternating between thinking and eating. The goal is to manage resource sharing to avoid deadlock and allow all philosophers to eat. It teaches concepts of synchronization and concurrency.
Dining philosophers problem solved, synchronization issues...
Program involving multi-threading and multi-process programming, employing mutexes and semaphores
3 different problems solved with multithreading. University project [no.2] for Concurrent Programming (Fall 2017).
Philosophers dinner problem using threads
Concurrent Programming in C (3rd year - 5th semester)
Add a description, image, and links to the mutexes topic page so that developers can more easily learn about it.
To associate your repository with the mutexes topic, visit your repo's landing page and select "manage topics."