Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
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
Forum:
Programmer Certification (OCPJP)
Daemon Threads
Lalitha Gottumukkula
Ranch Hand
Posts: 45
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
"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.
Thanks,
Lalitha.
miguel lisboa
Ranch Hand
Posts: 1282
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
first spot in
google
java amateur
nagaraj reddy
Ranch Hand
Posts: 43
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
As for as My Knowledge Concerned
in
java
u acn set a
thread
as Daemon thread by using setDaemon() method.Daemon threads will be running in background although your program completed.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
What is Deamon Thread?
User threads versus Daemon Threads
Do different types of Threads exist in JAVA?
need clarification on threads
3 questions regarding JPanel.
More...