[Mono-dev] Re: Thread Abort() sometimes fails in mono

Robert Jordan robertj at gmx.net
Tue Apr 4 13:23:38 EDT 2006


Felipe Almeida Lessa wrote:
> Em Ter, 2006-04-04 às 08:26 -0600, Wade Maxfield escreveu:
>> Hi,
> 
> Hi! Correct me if I'm wrong but...
> 
>> /*doesn't always work ---->*/    Global.WebThread.Abort();
> 
> You shouldn't be using Thread.Abort, right? AFAIK, this is a bad way of
> killing threads.

Thread.Abort() is harmless and more like an exception than a killer.

Robert




More information about the Mono-devel-list mailing list