RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TConditionVariableMutex.ReleaseAll Method

Wakes up all threads sleeping on the mutex condition variable.

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

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

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

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