How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
mySQL Lead Tracking Database
By bkleinhe on Sep 23
Max Bid: $300


System Snapshot Utility (repost)
By emetrix on Sep 23
Max Bid: $75


college project
By mmm12 on Sep 23
Max Bid: $350


Sports/College Basketball Betting Site Layout
By DWDYEM on Sep 23
Max Bid: $50


polynomial using linked list
By ray_05 on Sep 23
Max Bid: $20


Bobblehead MySQL database
By bobblebum on Sep 23
Max Bid: $150


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(197 open)
   Access 
(68 open)
   MySQL 
(128 open)
   Oracle 
(12 open)
   SQL Server 
(79 open)
   Other DB 
(25 open)
Documentation / Tech Writing 
(21 open)
   Language (Human) Translations 
(10 open)
Data Entry 
(44 open)
Game Development 
(22 open)
Graphics / Art / Music 
(58 open)
   Graphics 
(58 open)
     Adobe AfterEffects 
(14 open)
     Adobe Photoshop 
(36 open)
     Adobe Premiere 
(11 open)
     3d Animation 
(21 open)
   Art (Misc.) 
(19 open)
   Music 
(7 open)
   Photography 
(3 open)
   3d Modeling 
(12 open)
Language Specific 
(125 open)
   Assembly / Machine language 
(16 open)
   ASP 
(74 open)
   ASP .NET 
(74 open)
   C# 
(68 open)
   C++ / C 
(174 open)
   Carbon (Mac OS) 
(3 open)
   Cocoa / Obj-C 
(6 open)
   Cold Fusion 
(14 open)
   Delphi 
(61 open)
   Java 
(93 open)
   JSP 
(15 open)
   Perl 
(56 open)
   Python 
(6 open)
   PHP 
(131 open)
   XML/XSL 
(34 open)
   Visual Basic 
(176 open)
   Visual Basic .Net 
(111 open)
   Other 
(75 open)
Misc 
(35 open)
   Middleware 
(3 open)
   CAD 
(4 open)
MultiMedia 
(29 open)
   Video Editing 
(6 open)
Network 
(40 open)
   Network Design 
(7 open)
   Network Implementation 
(7 open)
Platforms 
(76 open)
   Windows 
(201 open)
     MS Exchange 
(12 open)
     MS Office 
(23 open)
     Other 
(19 open)
   Darwin 
(3 open)
   Embedded Systems 
(14 open)
   Hand Held/PDA Programming 
(14 open)
   Internet Browser 
(58 open)
   Linux 
(78 open)
   Lotus Notes / Domino 
(2 open)
   UNIX 
(43 open)
Requirements 
(14 open)
Security 
(34 open)
Testing / Quality Assurance 
(15 open)
Web 
(166 open)
   Page Design 
(92 open)
   Flash 
(50 open)
   Marketing 
(14 open)
     Search Engine Optimization 
(8 open)
     Marketing (Other) 
(12 open)
   Web Services 
(91 open)
   Web (Other) 
(102 open)
Training 
(9 open)
   Computer Based 
(14 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Producer-Consumer processes
Bid Request Id: 18749
Bookmark in my 'To Do' list
Posted by: CheatMode (4 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 16.67%
Buyer Security Verifications: Good
Approved on: Jun 10, 2002
8:32:47 PM EDT
Bidding Closes: Jun 12, 2002
8:35:37 PM EDT
Viewed (by coders): 242 times
Deadline: 6/13/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C, UNIX
Enter chat room for this bid request
(0 active users at Sep 23, 2003 3:07:49 PM EDT)

Description:
This program should create two concurrent processes that will communicate between themselves with the help of shared memory and semaphores. The processes will be a producer and a consumer. The producer will produce items (e.g. integer numbers) and place them on a buffer (a queue perhaps?), which will exist on the shared memory. The consumer will remove items from the buffer and “consume” them. The queue will have a maximum capacity of 10 items.

Fork should be used to create the two processes. (parent process: producer, child process: consumer)
The shared memory should be created with shmget and will be deleted with shmdt.
Also for the shared memory part, the following commands should be used: shmop, shmat, shmctl, ipcrm, ipcs)
Semaphores will be used for the synchronization of the two processes (the commands sema_init, sema_destroy, sema_wait, sema_trywait and sema_post should be used).
In the attached .zip file there is a .pdf that might help with some of the commands that should be used and a sample code file that roughly shows how the code should look like.





Deliverables:
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

Complete copyrights to all work purchased.


Platform:
It should compile on gcc and run in linux

Must be 100% finished and received by buyer on:
Jun 13, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
Ofcourse when the buffer is full, the procducer should suspend itself and thus give time to the consumer in order to consume the items on the buffer. If the buffer is empty, the consumer should suspend itself and give time to the producer to produce more items.
In order to work on this project one must be familiar with the term "critical section" and its significance in a process. Therefore the following rules should be kept in order for the program to function properly:
1.The two processes must never be in critical sections at the same time.
2.A process that is not in a critical section will not be allowed to suspend the other process.
3.The maximum time that a process has to wait before entering a critical section must be defined.

Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.



Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
SofterSoftware
(12 ratings)
in Toronto, Ontario
Canada
Bid id: 205,405
 
$25 (USD) Jun 10, 2002
10:17:58 PM EDT
 10
(Excellent)
   
I can do this for you no problem. I have done similar problems to this one a few times in the past. I will write code that is well commented and easy to follow. Check my ratings for references.
 
 
 
 
  There are 8 private replies to/from SofterSoftware. Click here to view them.
 




Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Securenext
Rated a 9.97 on 124 jobs 
Buddies
Rated a 9.85 on 94 jobs 
Codman
Rated a 9.97 on 158 jobs 
hernest
Rated a 10 on 122 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
D-N-S
Rated a 9.93 on 39 jobs 
markesh
Rated a 10 on 23 jobs 
Maxnet Technologi es Private Limited
Rated a 9.93 on 87 jobs 
GribFritz
Rated a 9.89 on 148 jobs 
PSergei
Rated a 9.77 on 106 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.