You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
[documented code / -pedantic -std=c89] - 42School variant of the dining philosophers problem to learn the basics of threading a process, how to create threads and use mutexes.
The dining philosophers problem is an example problem often used in concurrent algorithm design to illustrate synchronization issues and techniques for resolving them.
Explore concurrent programming with this classic implementation of the dining philosophers problem. Philosophers navigate a dining table, juggling between thinking and eating, showcasing synchronization challenges and resource allocation in a shared environment.
Unix OS, Process Creation, System Calls, Process Communication using Pipes and Signals, Shared Memory, Process Synchronization using POSIX Semaphores, Unix File System Manipulation,
A 42 school project that simulates the Dining Philosophers problem using multithreading (philo) and multiprocessing with semaphores (philo_bonus). The goal is to handle concurrency, synchronization, and avoid deadlocks and starvation.
Multi-process, multi-threaded supermarket simulation with dynamic cashier management, customer flow control, and emergency evacuation handling. Uses semaphores, mutexes, message queues, and shared memory for synchronization and inter-process communication.
[Note : 14 / 20] Projet UE Programmation système avancée (Université Paris Cité, M1) : Implémentation de files de messages pour une communication entre des processus tournant sur la même machine, en utilisant la mémoire partagée, et sans l’aide de files de messages existantes ou des sockets. L’accès parallèle à la file de messages est possible a…