This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how many threads r running  RSS feed

 
vijay mahendra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi one and all..

i have a doubt.. please explain any one.

If any simple java prog excute..internally how many thread are running..

and how to retrive that threads and how many not only main thread..some thread are running.

thanks.
 
Andrew Sancroff
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you want to be able to tell from outside the application or from within the application? From within the application, take a look at the Thread.enumerate method.

If you want to know from outside the application, I don't know.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!