FMX.Utils.TNonReentrantHelper.EnterSection
Delphi
class function EnterSection(var Guard: Boolean): Boolean;
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 を返します。
そうでない場合、EnterSection は False を返します。