A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: May 24, 2005
May 29, 2005 01:40:00
"The virtual machine exits whenever all non-daemon threads have completed."
What does this mean ?
What are Daemon threads and how do they differ from user threads ?
Pls. explain the behaviour of daemon threads with an example.
Joined: Feb 08, 2004
May 29, 2005 04:33:00
first spot in
Joined: Feb 21, 2005
May 29, 2005 06:24:00
As for as My Knowledge Concerned
u acn set a thread as Daemon thread by using setDaemon() method.Daemon threads will be running in background although your program completed.
I agree. Here's the link:
subject: Daemon Threads
Priority of Daemon threads
tomcat don�t release port 8080 when on shot down
what is daemon threads
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014