This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "java threads" Watch "java threads" New topic

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: 685
I give up.
Is it the white one and the black one?
Ulf Dittmer

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

Ping & DNS - my free Android networking tools app
Nitesh Kant

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!
wood burning stoves
subject: java threads