API:System.SyncObjs.TConditionVariableCS.WaitFor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WaitFor(CriticalSection: TCriticalSection; TimeOut: Cardinal = INFINITE): TWaitResult; overload;
function WaitFor(var CriticalSection: TRTLCriticalSection; TimeOut: Cardinal = INFINITE): TWaitResult; overload;

C++

HIDESBASE TWaitResult __fastcall WaitFor(TCriticalSection* CriticalSection, unsigned TimeOut = (unsigned)(0xffffffff))/* overload */;
HIDESBASE TWaitResult __fastcall WaitFor(Winapi::Windows::TRTLCriticalSection &CriticalSection, unsigned TimeOut = (unsigned)(0xffffffff))/* overload */;
inline TWaitResult __fastcall  WaitFor(unsigned Timeout = (unsigned)(0xffffffff)){ return TSynchroObject::WaitFor(Timeout); }
inline TWaitResult __fastcall  WaitFor(const System::Timespan::TTimeSpan &Timeout){ return TSynchroObject::WaitFor(Timeout); }

Properties

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

Description

Not used.

System.SyncObjs.TConditionVariableCS.WaitFor inherits from System.SyncObjs.TSynchroObject.WaitFor. All content below this line refers to System.SyncObjs.TSynchroObject.WaitFor.

Not used.

Currently, the WaitFor method is not used. It will always return wrError.

See Also