• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!