Microsoft
Software
Hardware
Network
Question : Orphan threads in .net, are they stopped by Garbage Collector?
If I have an object that has started a thread and at some point I have no references to my object, will the garbage collector also stop the thread as it garbage collects the object?
When the object is reclaimed, there will be no references to the thread object either, but I am unsure if the thread is orphaned and keeps running, or if the thread is stopped and reclaimed.
Answer : Orphan threads in .net, are they stopped by Garbage Collector?
The thread objects will be destroyed when the executable or application domain is terminated.
If your thread has not been aborted or completed its method (orphans), it will stay alive until your application is gone.
Random Solutions
No displayed Features when upgrade to MS Server SQL 2008
Access Report export question: DoCmd.OutputTo can't export Excel 1997-2003 format?
.Net C# Getting the error: The remote server returned an error: (401) Unauthorized. when using OWA Outlook Web Access
Recreate Deleted Computer Object
Run antivirus/spyware outside Windows XP environment?
Problem with default values in SSRS2008
Wrong NT group names
Do you know how I can prevent the Run time error '3010' table 'FA_ledger_report' already exists ? Actually the 'FA_ledger_report' is a Union query.
How to Take ownership of folder and all subdirectories and files?
Add a field name to text input