TThreadEvent

Thread synchronization primitive that allows waiting on a simple event

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TWaitableObjectAhstract base class for an object that can be waited for using WaitFor
3TThreadEvent

Source

Thread.Event.pas (26)

Description

TThreadEvent can be used to Signal an other thread that a certain event has occurred. The other thread uses WaitFor to wait for the event to become signaled.

Fields

ScopeVisibilityTypeNameDescription
InstanceprotectedTHandleHandle

Methods

ScopeVisibilityResultNameDescription
InstancepublicCreate(ManualReset: TBoolean; InitialState: TBoolean)
InstancepublicDestroy()
InstancepublicSignal()
InstancepublicReset()
InstancepublicTBooleanIsSignaled()
InstancepublicTHandleGetWaitHandle()