FMX.Utils.TNonReentrantHelper.LeaveSection

From RAD Studio API Documentation
Jump to: navigation, search

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 Guard value set to True.

See Also