WilderSea / Philosophers

This proyect is a program in C, where we use threads and mutexes to simulate a dinner of philosophers, where they have to "eat, sleep and think" an specific amount of time. They must be correctly syncronized to avoid dead locks and data races. The bonus part is the same idea but this time using processes and semaphores to manage the resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This proyect is a program in C, where I have to work using threads and mutexes to simulate a dinner of philosophers, where they have to "eat, sleep and think" an specific amount of time. They must be correctly syncronized to avoid dead locks and data races.

The bonus part is the same idea but this time using processes and semaphores to manage the resources.

About

This proyect is a program in C, where we use threads and mutexes to simulate a dinner of philosophers, where they have to "eat, sleep and think" an specific amount of time. They must be correctly syncronized to avoid dead locks and data races. The bonus part is the same idea but this time using processes and semaphores to manage the resources.


Languages

Language:C 94.5%Language:Makefile 5.5%