API: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
Provides the interface for a method that releases the synchronization object for use by other threads.
System.SyncObjs.TLightweightSemaphore.Release inherits from System.SyncObjs.TSynchroObject.Release. All content below this line refers to System.SyncObjs.TSynchroObject.Release.
Provides the interface for a method that releases the synchronization object for use by other threads.
Call Release from a thread that is finished using the synchronization object. The Release method for TSynchroObject does nothing other than provide the interface for a method that can unbind the synchronization object from the calling thread.