CloseThread function
Close a thread and free up resources used by the thread.
Declaration
function CloseThread(threadHandle: TThreadID): DWordDescription
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).Errors
If no threadmanager is installed, an exception may be raised or runtime error 232 may occur if no exceptions are used.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
