Description: 英国帝国理工学院电脑系多线程课程教学材料之二 ---- 观赏园林问题-A large ornamental garden is open to members of the public who can enter through either one of two turnstiles to the East and to the West of the garden. The management want to determine how many people are in the garden at any one time. They design a computer system to do this. In the program produced, each turnstile is represented by a thread and updates a shared Counter object. Platform: |
Size: 2048 |
Author:Key |
Hits: