System.SyncObjs.TCriticalSection.Release
Delphi
procedure Release; override;
C++
virtual void __fastcall Release(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TCriticalSection |
Description
Allows other threads to use the critical section.
Call Release when the thread no longer needs to block other threads from executing code that is protected by this critical section. Each call to Release should be balance by an earlier call to Acquire or Enter that blocked other threads from executing. Release does the same thing as the Leave method.