CS 441 MP1 grading information
1
Submissions : 28
Average :
94.75
Highest : 108
Lowest : 50
2 Several Frequently Seen Issues in grading
-
After a client sets a read/write lock on a record with set read/write
lock operation, this client becomes the owner of this lock. The owner
client can read/write this record even if the lock is still on.
Otherwise, what is the point of having the set read/write lock
operation? So your program should track the owner of each lock and
allow read/write operation request if it is from that owner. On server
side, each client is associated with one socket connection , so you
could use that socket connection as an implicit ID for clients
-
After the server shuts down, if the user tries to do any operation,
your client program should give meaning information like the server is
not available as the response to the user's operation. Your client
should not just does nothing or does something that the user can't
understand. Some of you just have the clients exit all of a sudden,
which would confuse the users with what's wrong? You could at least pop
up a message saying the server is down before your client exits.
So in your program implementation, when the server is going to shut
down, it could send some message to every client indication its
termination. On receiving this ending message, the clients can act
accordingly.
- Don't
send your readme file in any format other than plain text.
3 A well done job by Jin Soon Lim
: mp1.zip