System.SyncObjs.TLightweightSemaphore.Release
Delphi
function Release(AReleaseCount: Integer = 1): Integer; reintroduce;
C++
HIDESBASE int __fastcall Release(int AReleaseCount = 0x1);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TLightweightSemaphore |
Description
Frees a specified number of spots to be used by other threads.
Call Release from a thread that finished using the semaphore. Implicitly, one spot is released.