• Post Reply Bookmark Topic Watch Topic
  • New Topic

how many threads r running

 
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!