Next:
4.5.2 Java Threads and
Up:
4.5 Threads and Synchronization
Previous:
4.5 Threads and Synchronization
4.5.1 Threads in Java
Aim
Introduce threads as a programming concept
Objective
Enable the students to write simple threaded programs
Exercise
Write a program which creates and runs two threads. When the threads run, they will loop for x million times, printing out a progress statement each million iterations.
Next:
4.5.2 Java Threads and
Up:
4.5 Threads and Synchronization
Previous:
4.5 Threads and Synchronization
Ian Wakeman 2005-02-22