42 Project : philosophers
-
Updated
Jun 4, 2024 - C
42 Project : philosophers
this project, you will learn the basics of threading a process. You will see how to create threads and you will discover mutexes
This project is an implementation of thread and mutex in C to solve the problem of dining philosophers
Philosopher is a 42 school project that simulates the dining philosophers problem. It enhances your understanding of concurrency and synchronization in C by managing threads and resource sharing among multiple philosophers
Laboratorio #2 del corso PROGRAMMAZIONE CONCORRENTE E ALGORITMI DISTRIBUITI (80302) UNIGE
In the 42 philosophers project, the goal is to develop a synchronization mechanism that enables a group of philosophers to share limited resources while avoiding issues like deadlock.
The goal of this project was to learn to avoid deadlock and race conditions when creating multithreaded applications.
🍽️ dining philosophers problem in C.
Philosophers Problem Solution in C
An introduction to multithreading and forking using mutexes with dining philosophers problem
Nunca pensé que la filosofía llegara a ser tan letal --------------------------> En este proyecto, aprenderás los principios básico de hilar un proceso. Vas a aprender a como crear hilos y descubrirás los mutex.
Implementing an algorithm to manage and synchronise resource usage among multithreaded programs.
This project provides a concurrent programming solution to the classic problem, illustrating resource management and deadlock prevention. It serves as a practical example of problem-solving in a multithreaded environment.
synchronized program solving dinning philosophers problem in threads
Philosophers dining problem using threads
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.
basics of threading a process. create threads and mutexes.
This project provides a solution to the classic philosoph's problem, illustrating resource management and deadlock prevention with an implementation of multi-threading.
Add a description, image, and links to the philosophers-dinner-problem topic page so that developers can more easily learn about it.
To associate your repository with the philosophers-dinner-problem topic, visit your repo's landing page and select "manage topics."