Show Bid Request
Implement an I/O handler that receives requests from processes to perform input-output operations.
Bid Request Id: 8641
|
|
|
Posted by: |
Shannu (6 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Above Average - 42.86%
|
Buyer Security Verifications: |
Unverified
|
Approved on: |
Feb 9, 2002 4:36:21 PM EDT
|
Bidding Closes: |
Feb 11, 2002 4:54:16 PM EDT
|
Viewed (by coders): |
568 times
|
Deadline: |
2/13/2002
TIME EXPIRED
|
|
|
|
Description:
In this program you will implement an I/O handler that receives requests from processes to perform input-output operations. Create two user processes that make request to the I/O handler to perform I/O on their behalf. The communication is done by Unix PIPE facility. Input data for each user is simulated using files stored on disk. Assume input data consists of lines, each line no more than 80 bytes. As part of simulation, each user process stores the lines obtained from the IO handler in a file and prints it at the end of simulation. This last part is done only for validating the results and is not part of a real system.
The following are the functional descriptions of the I/O handler and the user processes:
I/O Handler:
repeat { get(from = sender; message = m); case m ‘open&': open file; /* issue a Unix open macro */ ‘read&' : read a previously opened file; ‘write&': write .. … m = result of open/read/write; /*including error messages */ put(to = from; message = m); } until done;
User process:
Initialization; put(to= i/o handler; message = ‘open filename&'); some independent activity /* can simulate it by sleep(n) */ get (from = i/o handler; message = m); if (m is an error message) take action else continue; repeat { put (receiver = i/o handler; message = ‘read next line&'); some independent activity /* simulated by sleep(n); */ get (from = i/o handler; message = m); append m to a file for later validation } until no more lines print results stored in the file above.
DATA for the two users is given in file1 and file2. (These files will be made available tomorrow).
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done., with comments
Complete copyrights to all work purchased.
Platform:
UNIX
Must be 100% finished and received by buyer on:
Feb 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:
Dead line is 13th Feb at 12.00 Pm If code not received by dead line - no payment.
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!
|
$10 (USD)
|
Feb 9, 2002 8:02:16 PM EDT
|
7.14
(Good)
|
|
|
We are a team of programmers that specialise in C for unix among other languages. We are well suited to the job and we assure you that you will receive the source code before the 14th provided you accept the bid promptly and send us the 2 data files as soon as possible.
Thanks
The i2i Team |
|
|
|
|
|