SyncObjs.TLightweightSemaphore.Create

From XE API Documentation
Jump to: navigation, search

Delphi

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

C++

__fastcall TLightweightSemaphore(int AInitialCount, int AMaxCount);

Properties

Type Visibility Source Unit Parent
constructor public
SyncObjs.pas
SyncObjs.hpp
SyncObjs TLightweightSemaphore

Description

Instantiates and initializes a TLightweightSemaphore object.

You can specify the initial and maximum number of threads that can acquire the TLightweightSemaphore object.


See Also