System.SyncObjs.TLightweightSemaphore.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(AInitialCount: Integer; AMaxCount: Integer = MaxInt);

C++

__fastcall TLightweightSemaphore(int AInitialCount, int AMaxCount);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TLightweightSemaphore

Beschreibung

Instantiiert und initialisiert ein TLightweightSemaphore-Objekt.

Sie können die ursprüngliche und maximale Anzahl von Threads festlegen, die das TLightweightSemaphore-Objekt abrufen.


Siehe auch