Re: Thread.Abort()
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Fri, 20 Oct 2006 09:03:07 +0200
"mabra" <mabra@home> wrote in message
news:%23vUjC978GHA.3264@xxxxxxxxxxxxxxxxxxxxxxx
| Hi !
|
| I just went to http://msdn2.microsoft.com/en-us/library/ty8d3wta.aspx to
| verify your statement about the deprecation of this methods, but could
| not verify.
|
Thread.Abort isn't deprecated but Thread.Suspend and Thread.Resume are.
Note that Thread.Abort should never be used to abort an other thread unless
you are willing to give up on the application domain your code is running
in, there are better way's to stop a thread from making progress, and don't
forget that Thread.Abort doesn't have any effect on a thread that is
executing in unmanaged land (like copy file).
Willy.
.
- References:
- Thread.Abort()
- From: Alan T
- Re: Thread.Abort()
- From: Alan T
- Re: Thread.Abort()
- From: Adityanand Pasumarthi
- Re: Thread.Abort()
- From: mabra
- Thread.Abort()
- Prev by Date: Re: How to register a service on a remote host with C#?
- Next by Date: Where to store string messages?
- Previous by thread: Re: Thread.Abort()
- Next by thread: Re: trim a single quote from string
- Index(es):
Relevant Pages
|