TJobThread Class

type TJobThread = class;

Properties

NameTypeDescription
CommandQueueTOpenCLCommandQueueReturns the Open CL command queue associated with the thread.
ExceptionMessagestringContains the exception message (if triggered) while the OnExecute was called.
JobIndexIntegerSpecifies the JobIndex passed to the threaded function as a parameter.
OnExecuteTOnClExecuteEventThreaded event function.

Methods

NameDescription
SleepingSleeping will return true, if event assigned to OnExecute event is not running.
StartCall Start to launch the thread and call the function assigned to OnExecute event from within the thread.