Sign in Join
FPDoc Onlineexperiment

TCriticalSection.Acquire procedure

Member of TCriticalSectionpublicIn unit SyncObjs

Enter the critical section.

Declaration

pascal
procedure Acquire; override

Description

Acquire attempts to enter the critical section. It will suspend the calling thread if the critical section is in use by another thread, and will resume as soon as the other thread has released the critical section.

See also

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