10.21.Wait Notify | ||||
10.21.1. | Use wait() and notify() from Object class | |||
10.21.2. | Monitor a thread's status. | |||
10.21.3. | Stopping a Thread: set a boolean variable that the thread checks occasionally | |||
10.21.4. | Pausing a Thread: set boolean a variable that the thread checks occasionally |