Afficher : Delphi
C++
Préférences d'affichage
System.Classes.TThread.CheckTerminated
De XE2 API Documentation
Delphi
class function CheckTerminated: Boolean; static;
C++
static bool __fastcall CheckTerminated();
Sommaire |
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TThread |
Description
Vérifie si un thread est terminé.
Utilisez CheckTerminated pour vérifier si l'indicateur Terminated a été défini sur le thread en cours.
Remarque : Vous pouvez appeler CheckTerminated et SetReturnValue seulement depuis un thread créé en interne. L'appel à cette méthode depuis un thread créé en externe déclenche une exception.