FMX.Utils.TNonReentrantHelper.LeaveSection
Delphi
class procedure LeaveSection(var Guard: Boolean);
C++
__classmethod void __fastcall LeaveSection(bool &Guard);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Utils.pas FMX.Utils.hpp |
FMX.Utils | TNonReentrantHelper |
Description
Leaves non-reentrable section of code.
LeaveSection returns False. LeaveSection changes Guard value to False.
- Note: LeaveSection should only be called after calling EnterSection with the same
Guardvalue set toTrue.