Description: 1. There is a north-south bridge can only accommodate one person is on both sides of the bridge 10 and 12 respectively, the preparation of a multi-threaded program to allow these people to reach the other side, each with a thread that bridge for the shared resource. 2. Using multi-threaded programs written Tortoise and the Hare. tortoise: slow and short rest periods rabbit: fast, rest a long time
To Search:
- [Bridge] - Cars cannot pass each other on the bridg
- [Java-IO] - Write a program to achieve any file copy
File list (Check if you may need any files):
Java-run.doc