This is an assignment for my Java multithreading class. The purpose of the assignment is to see what happen if a shared resource (the tunnel) is locked (synchronized) and what if it is not synchronized. Second, we can use the model to study the behavior of using different locked up time for the shared resource in the system.
The assignment requires four input arguments, passageTime, numberEast numberWest, and lockTunnel. Code skeleton and detailed requirement is provided on previous auction (it was posted by the other guy, not by me. i just need to finish the same assignment).
source and comments
Java on windows