What Are Thread Groups?

Chapter 10 - Thread Groups

Java Thread Programming
Paul Hyde
  Copyright 1999 Sams Publishing

Summary
ThreadGroup can help to organize the threads of a VM into groups. In this chapter, I showed you some of the methods that are available to work on thread groups. In particular, the getParent() , getName() , activeCount() , and enumerate() methods of ThreadGroup were used along with the getThreadGroup() method of Thread to produce the data for ThreadViewer . ThreadViewer can be a very useful tool for code development and debugging.

Toc


Java Thread Programming
Java Thread Programming
ISBN: 0672315858
EAN: 2147483647
Year: 2005
Pages: 149
Authors: Paul Hyde

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net