Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is Daemon thread?  RSS feed

 
Shiva Sankhar
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What is Daemon thread?

( I am not understanding this concept in threads)

Appreciate your valuable replies.

 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Satya Maheshwari
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may like to see: http://www.roseindia.net/java/thread/daemon-threads.shtml
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!