System.SyncObjs.TLightweightSemaphore.CurrentCount

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

Delphi

property CurrentCount: Integer read FCurrentCount;

C++

__property int CurrentCount = {read=FCurrentCount, nodefault};

プロパティ

種類 可視性 ソース ユニット
property public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TLightweightSemaphore

説明

セマフォを確保できるスレッドの数を示します。

CurrentCount は、Release メソッドが呼び出されるたびに増加し、スレッドが WaitFor メソッド内でセマフォを確保するたびに減少します。

関連項目