hi, i finished my assignment but now am a bit worried. I did not modify the sigs of lock or unlock. I implemented an atomic booking operation which calls lock and unlock in one method. Therefore, if Sun makes some
test program where client a locks record 1 and client b unlocks record 1, the unlock will be successful.
Thus, for the spec of the assignment, i'm fine, but if they try to call the lock and unlock out of context of my atomic operation, i'm in trouble.
Can anyone tell me anything?