FMX.Utils.TNonReentrantHelper.EnterSection

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

__classmethod bool __fastcall EnterSection(bool &Guard);

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Utils.pas
FMX.Utils.hpp
FMX.Utils TNonReentrantHelper


説明

コードの再入不能なセクションに入ります。

EnterSection は論理値を返します。

Guard の値が False の場合、EnterSection では Guard 値を True に変更し、True を返します。

そうでない場合、EnterSectionFalse を返します。

関連項目