Show Bid Request
c++ and win32 API to simulate the function of snoopy caches
Bid Request Id: 49624
|
|
|
Posted by: |
alzoub1 (47 ratings)
(Software buyer rating 9.95)
|
Non-action Ratio: |
Very Good - 5.77%
|
Posted: |
Feb 23, 2003 2:48:38 AM EDT
|
Bidding Closes: |
Feb 26, 2003 3:07:12 AM EDT
|
Viewed (by coders): |
96 times
|
Deadline: |
2/27/2003
TIME EXPIRED
|
|
|
|
Description:
please see attachment
Write a program in C++ and Win32 API to simulate the function of snoopy caches.
Your program actually contains four files, each representing a process. Among the four processes, three of them perform the operation of cache controllers and the fourth one performs the operation of a memory controller. Win32 API socket message passing mechanism is used to simulate the operation of automatic detection of modified data in a cache.
>cpsc735p3m1 {this is the memory controller} >cpsc735p3c1 {this is the first cache controller} >cpsc735p3c2 {this is the second cache controller} >cpsc735p3c3 {this is the third cache controller} >s(a,3) {in m1 console} >s(b,1) {in m1 console} >w(a,4) {in c2 console} >r(a) {in c3 console} >w(a,5) {in c3 console} >s(c,2) {in m1 console} >r(c) {in c2 console} >r(c) {in c1 console} >s(d,6) {in m1 console} >w(d,7) {in c2 console} >w(c,8) {in c1 console} >r(a) {in c2 console} >p {in c1 console} c = 8
>p {in c2 console} a = 5 c = invalidated d = 7 >p {in c3 console} a = 5 >p {in m1 console} a = 5 b = 1 c = 8 d = 7 >exit >
Deliverables:
Pseudo code for r(v) if the variableis in the cache then if the variable is invalidated then{ the cache controler sends a message to the memory controler the memory controler sends a variable to the cache controler the cache controler update the varaibles in the cache the cache controler validates the variable in the cache } else{ the cache controler sends a message to the memory controler the memory controler sends a variable to the cache controler the cache controler stores the value in the cache
} psudeocode for w(v,i) if the variableis in the cache then{ the cache controler update the varaibles in the cache the cache controler sends a message to the memory controler the memory controler updates the variable in memory the cache controler sends a n invalidations message to all other cache controlers; those cache controlers having a copy of the variable invaldate the variable } else{ the cache controler sends a message to the memory controler the memory controler update the varaibles in the memory the memory controler sends a variable to the cache controler the cache controler stores the value in the cache the cache controler sends a n invalidations message to all other cache controlers; those cache controlers having a copy of the variable invaldate the variable
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
xp ,mel
Must be 100% finished and received by buyer on:
Feb 27, 2003 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.
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 23, 2003 1:47:40 PM EDT
|
6.26
(Above Average)
|
|
|
Hi
I can modify the attached application to the requirements that you have mentioned.
Regards Navendu
|
|
|
|
|
|