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

deamon thread

laxmidhar prad
Ranch Hand

Joined: Feb 05, 2006
Posts: 33
kind tell me what is deamon thread & give one example
Awais Sheikh
Ranch Hand

Joined: Jun 07, 2006
Posts: 48
Please visit this link, u can get brief note from this link.Deamon Threads

Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
This and previous thread sound like blatant homework, but I take issue with the content of the above article anyway.

The above article makes it sound like daemon threads are something really special.

A deamon thread differs from non-daemon thread in only one small way. An active daemon thread does not prevent JVM shut-down, whereas non-daemon threads do.

This feature makes daemon threads useful for services etc., like the article suggests, but there is nothing that says they have to be used that way.

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
I agree. Here's the link:
subject: deamon thread
It's not a secret anymore!