RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCriticalSection.Acquire Method

Binds the critical section to the calling thread.

Pascal
procedure Acquire; override;
C++
virtual __fastcall Acquire();

Call Acquire to block all other threads from acquiring this critical section until the Release or Leave method is called. Acquire does the same thing as the Enter method. 

 

Enter 

Leave 

Release 

Using Critical Sections

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!