TParameter1 - The type of the first parameter passed to the body of the loop.TParameter2 - The type of the second parameter passed to the body of the loop.@FunctionalInterface public static interface ThreadedCalculation.BodyCallback2.Function<TParameter1,TParameter2>
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(TParameter1 parameter1,
TParameter2 parameter2,
int i)
A delegate representing the body of a multithreaded 'for' loop.
|
void invoke(TParameter1 parameter1, TParameter2 parameter2, int i)
ThreadingPolicy
with only one thread unless it is explicitly set inside the callback.parameter1 - The first parameter that is passed to the body of the loop. If this instance implements
IThreadAware and IsThreadSafe (get) returns
false, a copy of the parameter is made for each thread using
CopyForAnotherThread.parameter2 - The second parameter that is passed to the body of the loop. If this instance implements
IThreadAware and IsThreadSafe (get) returns
false, a copy of the parameter is made for each thread using
CopyForAnotherThread.i - The index to evaluate.