RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TConditionVariableCS.ReleaseAll Method

Wakes up all threads sleeping on the condition variable.

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

Call ReleaseAll to wake up all threads sleeping on the condition variable.

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

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