RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TConditionVariableHelper.WakeAll Method

Wakes up all threads sleeping on the condition variable.

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

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

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

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