File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes java threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "java threads" Watch "java threads" New topic
Author

java threads

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
which are the two threads always running in java ?
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 690
    
    1
I give up.
Is it the white one and the black one?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42926
    
  68
Here's some code that will come in handy if you want to investigate what threads are active at any given time.
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Alternatively, take a thread dump(CTRL-Break(Win systems) or CTRL-/(Unix)) and find it for yourself how many threads are alive and they are in what states!!


apigee, a better way to API!
 
Consider Paul's rocket mass heater.
 
subject: java threads