termination of program on main thread exit?
<p>I have two threads: the main thread and a thread generated from the main thread. </p>

<p>When the main thread exits, will the whole program terminate?</p>
