Sign in Join
FPDoc Onlineexperiment

LeaveCriticalSection procedure

In unit System

Leave a critical section.

Declaration

pascal
procedure LeaveCriticalSection(var cs: TRTLCriticalSection)

Description

LeaveCriticalSection signals that the current thread is exiting the critical section CS it has entered with EnterCriticalSection.

The critical section must have been initialized with InitCriticalSection prior to a call to EnterCriticalsection and LeaveCriticalSection.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.