Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void Parallel(int, params Action<int>[])

  • Declared in: RT.Util.Ut

Declaration

public static void Parallel(
    int maxSimultaneous,
    params Action<int>[] actions
)

Summary

Runs the specified actions partly in parallel by using no more than the specified maximum number of threads.

Parameters

intmaxSimultaneous Maximum number of concurrent threads allowed.
Action<int>[]actions Actions to run. The parameter is the index of the thread running it.