TThread

Abstract base class for a single thread of execution

Inheritance

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

Source

Thread.pas (28)

Description

Serves as a base class for functionality that should be executed in a separate thread. A thread can be started by calling Resume. When an exception occurs during the exection of the thread it is logged and saved in Exception to be processed by the caller.

Fields

ScopeVisibilityTypeNameDescription
InstanceprotectedTHandleHandle
InstanceprotectedTBooleanFTerminated
InstanceprotectedTPositiveInteger32FThreadID
InstanceprotectedTBooleanFFreeOnTerminate
InstanceprotectedTBooleanFinished
InstancepublicEExceptionException

Methods

ScopeVisibilityResultNameDescription
InstanceprotectedTPositiveInteger32ThreadProcedure_Implementation()
InstanceprotectedExecute()
GlobalprotectedTPositiveInteger32ThreadProcedure(Thread: TThread)
InstancepublicCreate()
InstancepublicDestroy()
InstancepublicBeforeDestruction()
InstancepublicResume()
InstancepublicKill()
InstancepublicTerminate()
InstancepublicSleep(Duration_Milliseconds: TPositiveInteger32)
InstancepublicTHandleGetWaitHandle()