Skip to content

TLightweightEvent

Declaration

Source position: syncobjs.pp line 345

type

  TLightweightEvent = class(TSynchroObject)
  public
    constructor Create; overload;
    constructor Create(aInitialState: Boolean); overload;
    constructor Create(aInitialState: Boolean; aSpinCount: Integer); overload;
    destructor Destroy;
    procedure Acquire;
    procedure ResetEvent;
    procedure SetEvent;
    function WaitFor : TWaitResult; overload;
    property BlockedCount: LongInt; {r}
    property IsSet: Boolean; {r}
    property SpinCount: Integer; {r}
  end;

Properties

Member Visibility Description
BlockedCount read only public
IsSet read only public
SpinCount read only public
See all Properties

Methods

Member Visibility Description
Acquire public
Create public
Destroy public
ResetEvent public
SetEvent public
WaitFor public
See all Methods