Basic HTML version of Foils prepared May 19 99

Foil 7 Thread Construction

From Elements of Concurrent Programming in Java Tango Group Internal Technology Seminars -- Spring 99. by Lukasz Beca


Thread class
  • String identifier, useful for tracking and debugging
  • ThreadGroup class used to enforce security policies
  • setDaemon method indicates that the task should be terminated when all non-daemon threads in the program terminate
Runnable interface, used if the class must subclass some other class (the most common example being Applet)



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999