[Mono-list] "Too many root sets" ?

Rodrigo Kumpera kumpera at gmail.com
Tue Dec 17 12:48:23 UTC 2013


Thread.Abort is a sure path to data corruption and crashes. The vast
majority of code out here is not ready to handle async exceptions.
It's fine to use Thread.Abort on an AppDomain you intend to unload right
away, but that's pretty much it.


On Mon, Dec 16, 2013 at 9:40 PM, Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:

> > From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> > bounces at lists.ximian.com] On Behalf Of mickeyf
> >
> > Thread.Abort is now considered a no-no. What is the best practice to
> > correctly dispose of threads that have outlived their usefulness?
>
> For most purposes, I would say you should be using ThreadPool.  Are you?
>  Or do you have a good reason not to?
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20131217/b00636eb/attachment.html>


More information about the Mono-list mailing list