Introduction - If you have any usage issues, please Google them yourself
. net thread type does not support the perfect way to close the thread. If the call Thread.Abort (), resources have not been cleared, and Abort () call does not guarantee success. This example contains a WorkerThread class, demonstrates how the right to close a thread.
Packet : 89346514killthread.zip filelist
KillThread/
KillThread/AssemblyInfo.cs
KillThread/bin/
KillThread/bin/Debug/
KillThread/KillThread.csproj
KillThread/KillThread.csproj.user
KillThread/KillThread.sln
KillThread/KillThread.suo
KillThread/KillThreadClient.cs
KillThread/KillThreadClient.resx
KillThread/licenses.licx
KillThread/obj/
KillThread/obj/Debug/
KillThread/obj/Debug/KillThread.exe.incr
KillThread/obj/Debug/KillThread.exe.licenses
KillThread/obj/Debug/KillThread.projdata
KillThread/obj/Debug/KillThread.projdata1
KillThread/obj/Debug/KillThreadDemo.KillThreadClient.resources
KillThread/obj/Debug/temp/
KillThread/obj/Debug/TempPE/
KillThread/WorkerThread.cs