Unit 'syncobjs' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TCriticalSection.Acquire

Enter the critical section.

Declaration

Source position: syncobjs.pp line 82

public procedure TCriticalSection.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

Release

  

Leave the critical section.


Documentation generated on: Dec 27 2024