Skip to content

TCriticalSection.Release

Leave the critical section.

Declaration

Source position: syncobjs.pp line 120

public 
procedure TCriticalSection.Release;  override;

Description

Release leaves the critical section. It will free the critical section so another thread waiting to enter the critical section will be awakened, and will enter the critical section. This call always returns immediately.

See also

Name Description
Acquire Enter the critical section.