Class gParallel
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Methods
BlockStartEnd(Int32, Int32, Action<Int32, Int32>, Int32, Boolean)
Process indices [iStart,iEnd] inclusive by passing sub-intervals [start,end] to blockF.
Blocksize is automatically determind unless you specify one.
Iterate over [start,end] inclusive in each block
Declaration
public static void BlockStartEnd(int iStart, int iEnd, Action<int, int> blockF, int iBlockSize = -1, bool bDisableParallel = false)
Parameters
Evaluate(Action[])
Evaluate input actions in parallel
Declaration
public static void Evaluate(params Action[] funcs)
Parameters
Type |
Name |
Description |
Action[] |
funcs |
|
ForEach_Sequential<T>(IEnumerable<T>, Action<T>)
Declaration
public static void ForEach_Sequential<T>(IEnumerable<T> source, Action<T> body)
Parameters
Type Parameters
ForEach<T>(IEnumerable<T>, Action<T>)
Declaration
public static void ForEach<T>(IEnumerable<T> source, Action<T> body)
Parameters
Type Parameters