RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TConditionVariableHelper.Wake Method

Wakes up a single thread sleeping on the condition variable.

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

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

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

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