Re: Thread.Abort()

Tech-Archive recommends: Fix windows errors by optimizing your registry




"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.



.



Relevant Pages

  • verifying cmd.exe
    ... I can use WinVerifyTrust to verify the signature of a signed executable ... before executing it. ... What function do I use to verify a Windows ...
    (microsoft.public.platformsdk.security)
  • Re: Stopping C program after user input
    ... > myScript.dat" the program will grab commands from the text file, verify ... > correctness, and begin executing the script UNTIL... ...
    (comp.unix.programmer)