FMX.Utils.TNonReentrantHelper.EnterSection
Delphi
class function EnterSection(var Guard: Boolean): Boolean;
C++
__classmethod bool __fastcall EnterSection(bool &Guard);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Utils.pas FMX.Utils.hpp |
FMX.Utils | TNonReentrantHelper |
Description
Enter a non-reentrable section of the code.
EnterSection returns the boolean value.
If the value of Guard is False, EnterSection changes Guard value to True and returns True.
Otherwise, EnterSection returns False.