RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TConditionVariableCS.Release Method

Wakes up a single thread sleeping on the condition variable.

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

Call Release to wake up a single thread sleeping on the condition variable.

Note: To reduce the number of context switches, make a call to Release after releasing the critical section.
 

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