wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes pl. help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "pl. help" Watch "pl. help" New topic
Author

pl. help

bindu john
Greenhorn

Joined: Oct 04, 2000
Posts: 15
Can somebody please enlighten me ab't daemon & non-daemom threads
Thanks
Bindu
Vivek Nambiar
Ranch Hand

Joined: Sep 25, 2000
Posts: 63
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!
Dhamu. Com
Greenhorn

Joined: Sep 28, 2000
Posts: 13
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
Dhamu. Com
Greenhorn

Joined: Sep 28, 2000
Posts: 13
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

Joined: Oct 04, 2000
Posts: 15
Thanx Vivek & Dharmesh
Bindu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pl. help