File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is this word about Thread are right?

 
Hades Pan
Ranch Hand
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JVM exits after the main() thread is exited even if there might be
some threads running.
 
Rowan Brownlee
Ranch Hand
Posts: 97
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it !
Thank for Rowan's example!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic