System.SyncObjs.TConditionVariableMutex.ReleaseAll
Delphi
procedure ReleaseAll;
C++
void __fastcall ReleaseAll();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TConditionVariableMutex |
Description
Wakes up all threads sleeping on the mutex condition variable.
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.