TMtxForLoop.Start Method

Overload List

#SignatureDescription
1procedure Start;Non-blocking call which start the processing.
2procedure Start(const Context: TObjectArray);Non-blocking call which start the processing.

Overload 1: procedure Start;

Non-blocking call which start the processing.

Result: stored in self (calling object)

Remarks:

Calling Start will initiate processing of a for or wile loop. The call will not block. To wait for processing to finish call WaitForProcessingFinish method.

Overload 2: procedure Start(const Context: TObjectArray);

Non-blocking call which start the processing.

#NameTypeDescription
1ContextTObjectArray

Result: stored in self (calling object)

Remarks:

Calling Start will initiate processing of a for or wile loop. The call will not block. To wait for processing to finish call WaitForProcessingFinish method. The Context will be passed to the threaded function as the parameter allowing any localy declared variables to be used by the threaded function, without the need to rely only on global vars.