| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Kill a running thread
Source position: threadh.inc line 153
function KillThread(  | 
threadHandle: TThreadID  | 
):DWord;  | 
KillThread causes a running thread to be aborted. The thread is identified by it's handle or ID threadHandle.
The function returns zero if successful. A nonzero return value indicates failure.
If a failure occurred, a nonzero result is returned. The meaning is system dependent.
  | 
Wait for a thread to terminate.  | 
|
  | 
End the current thread.  | 
|
  | 
Suspend a running thread.  |