Sign in Join
FPDoc Onlineexperiment

TWidgetSet.EnterCriticalSection procedure

Member of TWidgetSetpublicIn unit InterfaceBase

Enters a critical section.

Declaration

pascal
procedure EnterCriticalSection(var CritSection: TCriticalSection)
 ; virtual

Arguments

CritSection

The critical section object.

Description

The call returns only when the calling thread has obtained ownership of the critical section. See TryEnterCriticalSection for testing the ownership of the critical section.

See also

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