DoneThread

End the current thread

Declaration

Source position: threadh.inc line 127

  procedure DoneThread;

Description

DoneThread should be used to end the current thread. It performs the necessary housekeeping before actually ending the thread. Using the operating system calls to end the thread may result in data corruption or memory leaks.

See also

Name Description
BeginThread Start a new thread.