File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes What is Daemon thread? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "What is Daemon thread?" Watch "What is Daemon thread?" New topic

What is Daemon thread?

Shiva Sankhar
Ranch Hand

Joined: Mar 19, 2009
Posts: 41

What is Daemon thread?

( I am not understanding this concept in threads)

Appreciate your valuable replies.

Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

Daemon threads are least privileged threads, that can be killed without mercy by the JVM when the application stops or there is no resource such as memory.

Not many get the right opportunity !
Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 368
You may like to see:

Thanks and Regards
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: What is Daemon thread?
It's not a secret anymore!