This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i find out the number of threads  RSS feed

 
Lion Z. Li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I find out the number of threads, in all of their states, on stage at a given time. Do I need some profiler tools?I am working with j2me.

Thank you very much
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dunno about J2ME but in J2SE you would get the ThreadGroup that the Threads belong to. See java.lang.ThreadGroup
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!