![]() |
![]() |
|
02158 Concurrent Programming Fall 2024 |
Lab 1: Dynamic Java Thread Creation/Cancellation - solution proposal |
Home | Plan | Material |
You may find a solution proposal for steps 1-7 here: TaskControl_7.java
A solution consuming CPU-cycles (steps 8-9) can be found here: TaskControl_9.java
Notice that the task will have to regularly check for interruption itself, as it no longer calls any blocking operations.
Hans Henrik Løvengreen, Sep 12, 2024 |