The moose likes Threads and Synchronization and the fly likes Multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Multithreading" Watch "Multithreading" New topic


manoj Mahadik

Joined: Nov 21, 2000
Posts: 8
What is demon thread in java multithreading?
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
This is a good question for the Threads and Synchronization forum and I am moving it there!

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
ali farid
Ranch Hand

Joined: Aug 26, 2000
Posts: 60
A daemon thread is a low priority thread that runs in the background. e.g garbage collector
If you make a thread a daemon thread calling setDaemon(true);
When all the non daemon threads complete, the program terminates.
If a thread is a daemon, then any threads it creates will automatically be daemons.
jQuery in Action, 3rd edition
subject: Multithreading
jQuery in Action, 3rd edition