RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCriticalSectionHelper.Enter Method

Waits until the critical section is free and then locks it.

Pascal
procedure Enter;
C++
__fastcall Enter();

Call Enter to grant ownership of the critical section to the calling thread.  

If the critical section is not currently free, then the calling thread is added to the waiting queue of the critical section. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!