aspose file tools*
The moose likes Threads and Synchronization and the fly likes DAEMON THREAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "DAEMON THREAD" Watch "DAEMON THREAD" New topic
Author

DAEMON THREAD

thomas davis
Ranch Hand

Joined: Feb 01, 2003
Posts: 207
What is DAEMON Thread? What are the services provided by the Daemon thread to User Threads? When does it get killed or died?
How to create a daemon thread? How to assign that thread to user threads? What are benefits the user threads getting from this thread?
What is DAEMON Thread? What are the services provided by the Daemon thread to User Threads? When does it get killed or died?
How to create a daemon thread? How to assign that thread to user threads? What are benefits the user threads getting from this thread?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

As it says in the Javadoc for Thread.setDaemon(), if the only threads left running in a JVM have the "daemon" property set, then the JVM will exit. That is the whole definition. None of these other questions make sense, really.
As it says in the Javadoc for Thread.setDaemon(), if the only threads left running in a JVM have the "daemon" property set, then the JVM will exit. That is the whole definition. None of these other questions make sense, really.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DAEMON THREAD