Java Threads (Outline)

11/8/02


Click here to start


Table of Contents

Java Threads (Outline)

Motivation

Forms of Parallel Processing

The Class Thread

Example: ThreadRace.java

Class CountingThread (for ThreadRace)

Sample Output from ThreadRace

The Runnable Interface

Handling threads in an Applet

Example: Clock Applet

Clock Applet (continued)

Appearance of the Clock Applet

Thread State (with deprecated methods)

Thread State (with new methods)

Thread Priority

Thread Groups

Application to Animation

Author: Steven L. Tanimoto

Email: tanimoto@cs.washington.edu

Home Page: http://www.cs.washington.edu/people/faculty/tanimoto.html

Download presentation source