Prev
10. Input and Output
Next
12. Networking

11. exercise: Threads

  1. Review presentation Threads

      

  2. Investigate jtm.activity11 package
  3. Look at Activity11.png to understand design and 3 different approaches of array filling
  4. Implement classes ArrayFiller, and ArrayFillerManager to pass unit tests

lightbulb To check load on processor, run top command or System monitor.
Additionally you can install Multiload monitor with command:

sudo apt-get install indicator-multiload gnome-system-monitor

lightbulb To kill non-responding threads together with Eclipse, enter command:

killall -9 java

Hints:

You implement latency with Thread.sleep(latency); method

Prev
10. Input and Output
Next
12. Networking
Tags:
Created by Valdis Vītoliņš on 2017-01-03 10:07
Last modified by Valdis Vītoliņš on 2019-08-12 10:27
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License