System.SyncObjs.TConditionVariableCS.ReleaseAll

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReleaseAll;

C++

void __fastcall ReleaseAll();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TConditionVariableCS

Description

Wakes up all threads sleeping on the condition variable.

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.

See Also