Thread Groups

Some months ago I was wondering what was the benefit of using thread groups, which is a container of threads in Java. Reading Bruce Eckel’s Thinking in Java, I discovered this quote from Joshua Block, the one who improved the Collections framework in JDK 1.2:

“Thread groups are best viewed as an unsuccessful experiment, and you may simply ignore their existence.”

I haven’t been told about any Sun’s official statement about this topic before reading the book. So, why do they let us spend our effort trying to figure out the value of thread groups? 🙂

2 Replies to “Thread Groups”

  1. I’ve seeing eckel comments on this ThreadGroup class back on the second edition of thinking in Java, Java 1.2 days, since then I’ve heard nothing more, but that could be ’cause I’ve never made heavy use threads till this days 😉

  2. I’ve seeing eckel comments on this ThreadGroup class back on the second edition of thinking in Java, Java 1.2 days, since then I’ve heard nothing more, but that could be ’cause I’ve never made heavy use threads till this days 😉

Leave a Reply

Your email address will not be published. Required fields are marked *