• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

pl. help

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can somebody please enlighten me ab't daemon & non-daemom threads
Thanks
Bindu
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please check these links http://www.javaranch.com/ubb/Forum24/HTML/001222.html
http://www.javaranch.com/ubb/Forum24/HTML/000906.html
and if possible use the search function of this site, it really helps in getting all the related links.
Relax and focus!
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Bindu! Hi!
Well daemon threads are the threads which run in the background. Thease are like the services in Windows NT and daemon process in unix like httpd,smbd etc. So thease threads are being executed countinuously by the operating system as b/g processes.Which are invoked by the system. In JVM a green thread is always present.This is daemon thread.
The non-daemon thread is the thread invoked by the user or programmer.After finishing it's task this thread will get died.This you can say forground process.
If still doubt is there fill free.
Dharmesh.
 
Dhamu. Com
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Bindu! Hi!
U asked @ daemon & non-daemon thrds.
Well daemon thrds. are those thrds. which are invoked by the system and run in the background like services in Windows NT and Daemon processes in Unix.In JAVA JVM always executes a thread known as green thread as the b/g process. So these are the b/g threads.
Non-daemon thrds. are invoked by the user or programmer.After executing it's task it will get died. So it run only in f/g.
If still confusion is there fill free to ask.
Dharmesh.
 
bindu john
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx Vivek & Dharmesh
Bindu
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic