Sun Java Solaris Communities My SDN Account Join SDN
 
Index of Code Samples

Threaded Programs Code Samples

 

A thread is a path of execution through a program. Single threaded programs have one path of execution, and multi-threaded programs have two or more paths of execution. For most programs, one thread of execution is all you need, but sometimes it makes sense to use multiple threads in a program to accomplish multiple simultaneous tasks.

Applet Examples Synchronization