\r
public void Cancel()\r
{\r
- this.thread.Abort(); // Request abort first\r
-\r
- // Wake up the thread if necessary\r
- if ( ( this.thread.ThreadState & ThreadState.WaitSleepJoin ) != 0 )\r
- this.thread.Interrupt();\r
+ ThreadUtility.Kill(this.thread);\r
}\r
\r
public void StartRun( EventListener listener )\r