Hi All,
Kindly let me know about object disposal in multithreaded program. I am particularly interested in knowing object disposal whenever thread is aborted.
Any help (Explination, Articles and others) is very much appreciated.
With Regards,
kalai
Hi All,
Kindly let me know about object disposal in multithreaded program. I am particularly interested in knowing object disposal whenever thread is aborted.
Any help (Explination, Articles and others) is very much appreciated.
With Regards,
kalai
Object disposal while thread is aborting
rccopter
Hi Lucian,
Thank you so much.
I have avoided calling Thread.Abort() method. Sure Reliability is restored.
Thanks & Regards,
kalai
Pape
Do a Google search for: chris brumme reliability. Search in msdn for "Reliability Best Practices". Of course the most important issue is architectural. Do you really have to Abort threads This is a dangerous practice. .NET 2.0 makes code more reliable (critical finalizer, SafeHandle, constrained regions; http://msdn.microsoft.com/msdnmag/issues/05/10/Reliability/), but this doesn't mean that you should do it just because you can :).
Dispose, Finalization, and Resource Management:
http://www.bluebytesoftware.com/blog/PermaLink.aspx guid=88e62cdf-5919-4ac7-bc33-20c06ae539ae