RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCriticalSection.Release Method

Allows other threads to use the critical section.

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

Call Release when the thread no longer needs to block other threads from executing code that is protected by this critical section. Each call to Release should be balance by an earlier call to Acquire or Enter that blocked other threads from executing. Release does the same thing as the Leave method. 

 

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