This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Is this word about Thread are right? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Is this word about Thread are right?" Watch "Is this word about Thread are right?" New topic
Author

Is this word about Thread are right?

Hades Pan
Ranch Hand

Joined: Nov 25, 2001
Posts: 106
JVM exits after the main() thread is exited even if there might be
some threads running.
Rowan Brownlee
Ranch Hand

Joined: Aug 07, 2000
Posts: 97
Hello Hades,
If all of the user threads have died, the application will cease even if there are some daemon threads still running (eg the garbage collector).
cheerio
rowan

Hades Pan
Ranch Hand

Joined: Nov 25, 2001
Posts: 106
I got it !
Thank for Rowan's example!
 
wood burning stoves
 
subject: Is this word about Thread are right?
 
Similar Threads
Thread and Object
Thread & Synchronization
WA #1.....word association
Tech Word Game
subject