
a solution in c for a Wine Making club problem?
Consider a wine-making club with 8 members and a warehouse of supplies. For a member to make wine, they need to use: 2 jugs, 1 yeast lock, sweetened fruit juice, and wine-making yeast. The initial mixing process requires a mixing station, the fermentation process requires 4 weeks to produce wine once all three ingredients have been properly mixed together. The second carboy is needed only at the end of the process to decant the wine off the dead yeast. The warehouse contains 2 mixing stations, 6 carboys (10 liter size), 7 yeast locks, 15 containers of (5 liter size) of sweetened fruit juice, and 20 packages of wine yeast (for 10 liters of wineeach). Once a member has finished his/her wine, they all taste the batch before that member starts a new batch. Write a program that simulates the members of the club making wine. Each member should be represented by a process. Use semaphores for synchronization. Use C or C++.It should free from deadlock and need not be free from starvation.
Sounds like you want someone to do your C homework for you.
Types of Red Wine – Wine Club Basics Part 1
|
|
Vacuvin Rapid Ice Elegant Wine Cooler Elegant Stainless Steel Silver 20 cm x 14.5 cm 14.5 cm £12.73 Our Barware is 100% trade guaranteed and therefore is a MUCH better purchase than the other cheaper / less durable and poorly manufactured items that you can buy from high street retailers and other internet sellers…. |
|
|
Screwpull Club Wine Cooler, Stainless Steel £35.83 … |
|
|
Monthly Wine Gift Club (3 Months) $122.99 Taste the good life with this 3-month subscription to the Monthly Wine Gift Club Perfect gift for those wine connoisseurs Each shipment includes two different bottles of hand-crafted wine |
|
|
Monthly Wine Gift Club (12 Months) $399.99 Taste the good life with this 12-month subscription to the Monthly Wine Gift club Perfect gift for those wine connoisseurs Each shipment includes two different bottles of hand-crafted wine |
