If I have something like: the 'main' thread will conclude very swiftly, but the JVM will not exit (and so my program will still be 'running'), because of the thread started by MyThreadedClass. Or does the 'main' thread hang around until something finally kills the _me thread ?
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18652
posted
0
The main thread will end, but the JVM won't exit until all non-daemon threads have ended.