Method | Description | |
---|---|---|
AddThread ( ) : void |
Adds a thread to the manager.
|
|
AddThread ( System.Action threadStart ) : void |
Adds a thread to the manager.
|
|
Dispose ( ) : void |
Releases resources used by the object.
|
|
ForLoop ( int beginIndex, int endIndex, Action |
Iterates over the interval.
|
|
ParallelLooper ( ) : System |
Constructs a new parallel loop manager.
|
|
RemoveThread ( ) : void |
Removes a thread from the manager.
|
Method | Description | |
---|---|---|
OnWorkerFinish ( ) : void |
public AddThread ( System.Action threadStart ) : void | ||
threadStart | System.Action | Initialization to run on the worker thread. |
return | void |
public ForLoop ( int beginIndex, int endIndex, Action |
||
beginIndex | int | Starting index of the iteration. |
endIndex | int | Ending index of the iteration. |
loopBody | Action |
Function to call on each iteration. |
return | void |