RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.EndThread Function

Terminates the execution of a thread.

Pascal
procedure EndThread(ExitCode: Integer);
C++
EndThread(int ExitCode);

EndThread terminates execution of a thread with the specified ExitCode.

Note: On Windows, EndThread calls the ExitThread WinAPI with the specified ExitCode.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!