System.EndThread
Delphi
procedure EndThread(ExitCode: Integer);
C++
extern DELPHI_PACKAGE void __fastcall EndThread(int ExitCode);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.pas System.hpp |
System | System |
Description
Terminates the execution of a thread.
EndThread terminates the execution of a thread with the specified ExitCode.
Note: On Windows, EndThread calls the ExitThread WinAPI with the specified ExitCode.