TWhileLoopEvent Struct

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

struct TWhileLoopEvent;

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

The while-loop will not terminate until Stop variable will return True. The context contain's any parameters passed to the DoWhileLoop 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
TWhileLoopEvent (4)

Operators

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

Fields

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