Chapter 10. Thread Groups


In Java, threads can be grouped together and associated with an instance of ThreadGroup. In this chapter, I'll show you how to use some of the methods of ThreadGroup. At the end of the chapter, I'll show you how to use the class ThreadViewer to visually display the status of all the threads running in the Java VM.

In addition to the information in this chapter, a detailed description ...

Get Java Thread Programming now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.