Interface IParallelProcessor<TParallelizedProcessor>
Assembly: SoCore.dll
Syntax
public interface IParallelProcessor<TParallelizedProcessor> : IHostedService where TParallelizedProcessor : ParallelizedProcessor
Type Parameters
Name |
Description |
TParallelizedProcessor |
|
Properties
CurrentNumberOfProcessors
Current number of Parellel processing tasks
Declaration
int CurrentNumberOfProcessors { get; }
Property Value
DesiredNumberOfProcessors
Desired number of parallel processing tasks
Declaration
int DesiredNumberOfProcessors { get; }
Property Value
Methods
SetDesiredNumberOfProcessors(int)
Set the desired number of parallel processing tasks
Declaration
void SetDesiredNumberOfProcessors(int desiredNumberOfProcessors)
Parameters
Type |
Name |
Description |
int |
desiredNumberOfProcessors |
|
Extension Methods