Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

DAEMON THREAD  RSS feed

 
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
author and iconoclast
Sheriff
Posts: 24220
40
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!