Wine Advice Forums - Wine Buying, Selling, Tasting and Drinking Discussion  
  #1  
Old 11-07-2008, 10:13 PM
nanthini p nanthini p is offline
Junior Member
 
Join Date: Nov 2008
Posts: 1
nanthini p is on a distinguished road
Default 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.
__________________
Powered By Yahoo
Reply With Quote
  #2  
Old 11-07-2008, 10:13 PM
wheatsystems wheatsystems is offline
Junior Member
 
Join Date: Nov 2008
Posts: 1
wheatsystems is on a distinguished road
Default

Sounds like you want someone to do your C homework for you.
__________________
Powered By Yahoo
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:06 PM.

bo20 Style by Bluepearl Design, vBulletin Templates and 3sStudios - Ver4.0

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
Copyright 2008 www.wineadviceforum.com