[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Close a thread and free up resources used by the thread
Source position: threadh.inc line 143
function CloseThread( |
threadHandle: TThreadID |
):DWord; |
CloseThread must be called on any thread started with BeginThread. It must be called after the thread has ended (either by exiting the thread function or after calling EndThread).
If no threadmanager is installed, an exception may be raised or runtime error 232 may occur if no exceptions are used.
|
Start a new thread. |
|
|
End the current thread. |