my dog learned polymorphism*
The moose likes Threads and Synchronization and the fly likes what is the use of threadgroup?Advantages of it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "what is the use of threadgroup?Advantages of it?" Watch "what is the use of threadgroup?Advantages of it?" New topic
Author

what is the use of threadgroup?Advantages of it?

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
what is the use of threadgroup?Advantages of using it?
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
i advice a thorough reading of any "java for dummies" or equivalent before posting. i don't see there is any Java tutorial forum available. Please check and post accordingly.
any group is used to group things together for easy reference. This able to decouple the system.
Imagine, you have a couple of loading job (IO operations) performed using Java threads. all these can constitue a thread group and i can assign priorities for threads in the same thread group .


Aadhi
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
An advice from Joshua Bloch: Avoid thread groups. They are largely obsolete, don't have much useful functionality, and can be considered an unsuccessful experiment in Java. Don't use them.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Moving to the Threads forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the use of threadgroup?Advantages of it?