ParallelProcess<TResult, T1, T2>

AbstractProcess
public abstract class ParallelProcess<TResult, T1, T2> : AbstractProcess
Represents an optimized parallel loop for two input arrays.
TResultType of result.
T1Type of input.
T2Type of input.

Properties

CountOverride

Gets or sets the number of iterations to process. If the override is negative, the size of the longest input array determines the count.
public int CountOverride { get; set; }
inherited fromAbstractProcess

RunSingleThreaded

Gets whether this process is supposed to run in single threaded mode.
public bool RunSingleThreaded { get; }
inherited fromAbstractProcess

ThreadCount

Gets or sets the maximum degrees of parallelism for this process. Leave the value at a negative number to revert to default.
public int ThreadCount { get; set; }
inherited fromAbstractProcess

Methods

CreateOptions

protected ParallelOptions CreateOptions()
inherited fromAbstractProcess

Perform

#
public TResult[] Perform(
T1[]
data1,
T2[]
data2,
token
)

Perform

#
public TResult[] Perform(
T1[]
data1,
T2[]
data2
)

Process

#
protected abstract TResult Process(
T1
data1,
T2
data2,
token
)