TForLoopEvent Struct

Header: Dew.Math/MtxForLoop.h · Cross-compiler

struct TForLoopEvent;

Event type to implement threaded for-loop within a method of object.

LoopIndex specifies the current iteration of the for-loop and context contains any parameters passed to the DoForLoop function, when threading was initialized. ThreadIndex parameter will vary from 0 to ThreadCount-1 depending on the thread, that is running. ThreadIndex can be used to partition the data within the event.

Constructors

NameDescription
TForLoopEvent (4)

Operators

NameDescription
operator bool
operator!=
operator()
operator==

Fields

NameTypeDescription
Codevoid (*)(void *, int, const DewArray<tObject *> &, int)
Datavoid *