System.SyncObjs.TSpinWait.Reset
Delphi
procedure Reset;
C++
void __fastcall Reset();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TSpinWait |
Description
Resets the counter of the cycles a thread will wait until it attempts to acquire the lock again.
Call Reset to set to 0 the counter of the threads waiting to acquire the lock.