|
Writing a computer program that only does a single thing at a time is an artificial constraint that we've lived with in most programming languages. With Java, we no longer have to live with this limitation. Support for multiple, synchronized threads is built directly into the Java language and runtime environment.
Synchronized threads are extremely useful in creating distributed, network-aware applications. Such an application may be communicating with a remote server in one thread while interacting with a user in a different thread.
Thread Basics
The Thread Classes
Creating Threads
Scheduling & Thread Priority
Daemons
Grouping Threads
Thread States: New, Runnable, Not Running, Dead
Synchronization
Contents in this section used with permission from:
JAVA™ DEVELOPER'S REFERENCE
(Imprint: SAMS.Net, Publisher: Macmillan Computer Publishing)
ISBN: 1575211297
|
|