what is demon thread ?please explain

hicould you please explain.Thanks,VS
[64 byte] By [vijay.mandapatia] at [2007-11-27 9:45:42]
# 1
No probs, http://tns-www.lcs.mit.edu/manuals/java-tutorial/java/threads/daemon.htmlCheers
_helloWorld_a at 2007-7-12 23:54:51 > top of Java-index,Java Essentials,Java Programming...
# 2
A thread that exists/runs in the background.... basically a low priority thread...
@@CKM@@a at 2007-7-12 23:54:51 > top of Java-index,Java Essentials,Java Programming...
# 3
It's a "demoniac" Thread.......
pbulgarellia at 2007-7-12 23:54:51 > top of Java-index,Java Essentials,Java Programming...
# 4

The JVM exits when the last running thread finishes. In a GUI this typically happens when the last window is closed (which ends the dispatcher thread).

If you set a Thread to daemon status then that thread doesn't prevent the JVM from exiting if it's still running.

So it's used for background threads. Typically these threads speand most of their time waiting for some condition to arrise which they then quietly handle. They might be waiting for an incoming socket connection. They might wake up every five minutes and check that a file hasn't been updated. They might be waiting for some task to be added to a queue which they then execute.

malcolmmca at 2007-7-12 23:54:51 > top of Java-index,Java Essentials,Java Programming...
# 5
a demon thread is one that comes back to haunt you, what a daemon thread is has been explained already.
jwentinga at 2007-7-12 23:54:51 > top of Java-index,Java Essentials,Java Programming...