API:System.SyncObjs.TConditionVariableCS.WaitFor
Delphi
function WaitFor(CriticalSection: TCriticalSection; TimeOut: Cardinal = INFINITE): TWaitResult; overload;
function WaitFor(var CriticalSection: TRTLCriticalSection; TimeOut: Cardinal = INFINITE): TWaitResult; overload;
C++
HIDESBASE System::Types::TWaitResult __fastcall WaitFor(TCriticalSection* CriticalSection, unsigned TimeOut = (unsigned)(0xffffffff))/* overload */;
HIDESBASE System::Types::TWaitResult __fastcall WaitFor(_RTL_CRITICAL_SECTION &CriticalSection, unsigned TimeOut = (unsigned)(0xffffffff))/* overload */;
inline System::Types::TWaitResult __fastcall WaitFor(unsigned Timeout = (unsigned)(0xffffffff)){ return TSynchroObject::WaitFor(Timeout); }
inline System::Types::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
.