System.EndThread

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure EndThread(ExitCode: Integer);

C++

extern DELPHI_PACKAGE void __fastcall EndThread(int ExitCode);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
System.pas
System.hpp
System System

Description

Termine l'exécution d'un thread.

EndThread termine l'exécution d'un thread avec le paramètre ExitCode spécifié.

Remarque :  Sous Windows, EndThread appelle la fonction d'API Windows ExitThread avec le paramètre ExitCode spécifié.

Voir aussi