I created a thread and this thread can be paused. So how do I kill or terminate a suspended thread?
I tried the ABORT thread and I got a runtime error message stating that the thread was paused and could not be interrupted. I was looking for a terminate method or something similar and it doesn't seem to exist.
myThread := new Thread(@BigLoop); myThread.Start; myThread.Suspend; myThread.Abort; <<<===exception is raised.
So how do you kill or terminate a suspended thread?
source share