|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Thread state after it's initiator exits.My main program starts a thread. My question is what happens to the thread
when the main program goes away? Does the thread exits automaticly with the main, or does the main program need to make sure that it stops the thread before it terminating itself? Thanks. Feng "Feng" <F***@discussions.microsoft.com> schrieb Why not try it? :-)> My main program starts a thread. My question is what happens to the > thread when the main program goes away? Does the thread exits > automaticly with the main, or does the main program need to make > sure that it stops the thread before it terminating itself? Unless the new thread is not a background thread (t.IsBackground = True), the process does not exit before all threads exited. Details: http://msdn.microsoft.com/library/en-us/dllproc/base/terminating_a_process.asp Armin
ListView SortKey
Dynamic variable/object name reference. how to do in VB.NET? Guidance on remoting Problem with DataAdapter Fill method, Ithink Unsigned types and CLS-compliance Image dimensions? Multiple Catches in Try/Catch How to convert a selectedIndex to SelectedValue for ComboBox controls collection ms.public.dotnet.vb.general - an "ex group" |
|||||||||||||||||||||||