Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the use of threadgroup?Advantages of it?

 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of threadgroup?Advantages of using it?
 
aadhi agathi
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Threads forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic