FMX.Utils.TNonReentrantHelper.EnterSection

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

class function EnterSection(var Guard: Boolean): Boolean; inline;

C++

__classmethod bool __fastcall EnterSection(bool &Guard);

Propriétés

Type Visibilité  Source Unité  Parent
function public
FMX.Utils.pas
FMX.Utils.hpp
FMX.Utils TNonReentrantHelper


Description

Entrez une section non réentrante du code.

EnterSection renvoie la valeur booléenne.

Si la valeur de Guard est False, EnterSection définit Guard sur True et renvoie True.

Autrement, EnterSection renvoie False.

Voir aussi