Click or drag to resize
DigitalRuneParallelFor Method (Int32, Int32, ActionInt32, Int32)
Executes a for loop where each iteration can potentially occur in parallel with others.

Namespace: DigitalRune.Threading
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static void For(
	int startInclusive,
	int endExclusive,
	Action<int> body,
	int stride
)

Parameters

startInclusive
Type: SystemInt32
The index (inclusive) at which to start iterating.
endExclusive
Type: SystemInt32
The index (exclusive) at which to end iterating.
body
Type: SystemActionInt32
The method to execute at each iteration. The current index is supplied as the parameter.
stride
Type: SystemInt32
The number of iterations that each processor takes at a time.
See Also