The purpose of this project is to make a simulation of a pizzeria, which is composed of the reception that accepts new commands, of several kitchens, themselves with several cooks, themselves cooking several pizzas.
Each kitchen is a fork create in the reception, each cook in the kitchen is a thread to manage many pizza at the same time.
There is no specific lib in this project.
$> make
$> ./plazza [TIME MULTIPLIER] [NB_COOK_PER_KITCHEN] [FRIDGE_REFRESH_TIME]
After launch, you can command a pizza by the following syntax
> TYPE SIZE NUMBER [;...]
- TYPE = regina|margarita|americaine|fantasia
- SIZE = S|M|L|XL|XXL
- NUMBER = x[1..9][0..9]
Example : regina XXL x2; fantasia M x3; margarita S x1
Ugo Levi--Cescutti - Linkedin - [email protected]
Project Link: https://github.com/ugo94490/Plazza/