API:System.SyncObjs.TSemaphore.Release
Delphi
procedure Release; overload; override;
function Release(AReleaseCount: Integer): Integer; reintroduce; overload;
C++
virtual void __fastcall Release()/* overload */;
HIDESBASE int __fastcall Release(int AReleaseCount)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TSemaphore |
Description
Provides the interface for a method that releases the synchronization object for use by other threads.
System.SyncObjs.TSemaphore.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.