Parallel Methods |
The Parallel type exposes the following members.
Name | Description | |
---|---|---|
Do(Action) |
Executes the given work items potentially in parallel with each other.
This method will block until all work is completed.
| |
Do(IWork) |
Executes the given work items potentially in parallel with each other.
This method will block until all work is completed.
| |
Do(Action, Action) |
Executes the given work items potentially in parallel with each other.
This method will block until all work is completed.
| |
Do(IWork, IWork) |
Executes the given work items potentially in parallel with each other.
This method will block until all work is completed.
| |
For(Int32, Int32, ActionInt32) |
Executes a for loop where each iteration can potentially occur in parallel with others.
| |
For(Int32, Int32, ActionInt32, Int32) |
Executes a for loop where each iteration can potentially occur in parallel with others.
| |
ForEachT |
Executes a for-each loop where each iteration can potentially occur in parallel with others.
| |
RunCallbacks |
Executes all task callbacks on a single thread.
| |
Start(Action) |
Creates and starts a task to execute the given work.
| |
Start(IWork) |
Creates and starts a task to execute the given work.
| |
Start(Action, WorkOptions) |
Creates and starts a task to execute the given work.
| |
Start(Action, Action) |
Creates and starts a task to execute the given work.
| |
Start(IWork, Action) |
Creates and starts a task to execute the given work.
| |
Start(Action, WorkOptions, Action) |
Creates and starts a task to execute the given work.
| |
StartT(FuncT) |
Creates and starts a task which executes the given function and stores the result for later
retrieval.
| |
StartT(FuncT, WorkOptions) |
Creates an starts a task which executes the given function and stores the result for later
retrieval.
| |
StartT(FuncT, Action) |
Creates and starts a task which executes the given function and stores the result for later
retrieval.
| |
StartT(FuncT, WorkOptions, Action) |
Creates and starts a task which executes the given function and stores the result for later
retrieval.
| |
StartBackground(Action) |
Starts a task in a secondary worker thread. Intended for long running, blocking work such as
I/O.
| |
StartBackground(IWork) |
Starts a task in a secondary worker thread. Intended for long running, blocking work such as
I/O.
| |
StartBackground(Action, Action) |
Starts a task in a secondary worker thread. Intended for long running, blocking, work
such as I/O.
| |
StartBackground(IWork, Action) |
Starts a task in a secondary worker thread. Intended for long running, blocking work such as
I/O.
|