TInternalProgressThread Class

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

class TInternalProgressThread : public tObject;

Internal background worker for CLR targets.

Runs the user job on a dedicated Thread, observes TMtxProgressRuntime::Cancel, and signals completion through the runtime. Exposes a public TInternalProgressThread::Counter used for loop progress.

Constructors

NameDescription
TInternalProgressThread (2)Create and start the worker thread.

Methods

NameDescription
IsTerminatedTrue after the worker has finished its execution method.
TerminateRequest cooperative cancellation.

Fields

NameTypeDescription
CounterintCurrent loop counter owned by the worker.