This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Count no. of Thread Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Count no. of Thread" Watch "Count no. of Thread" New topic
Author

Count no. of Thread

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi,
How can we know that how many threads running in a programme.


Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12269
    
    1
Look into the java.lang.ThreadGroup documentation.

Bill

Java Resources at www.wbrogden.com
AjayKumar Panigrahi
Greenhorn

Joined: Nov 21, 2009
Posts: 21
Hey Pankaj..

Check java.lang.ThreadGroup

and locate methods those start with act.... You will get the solution


Ajay Kumar, SCJP5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35250
    
    7
http://faq.javaranch.com/java/ThreadLister should be of interest.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Count no. of Thread
 
Similar Threads
Args in Netbeans
http-method not specified
Ant and Cactus - classpath issues
thanks!!! another SCJP born~
Clock problem