Show / Hide Table of Contents

Interface IParallelProcessor<TParallelizedProcessor>

Inherited Members
IHostedService.StartAsync(CancellationToken)
IHostedService.StopAsync(CancellationToken)
Namespace: SuperOffice.Threading
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
Type Description
int

DesiredNumberOfProcessors

Desired number of parallel processing tasks

Declaration
int DesiredNumberOfProcessors { get; }
Property Value
Type Description
int

Methods

SetDesiredNumberOfProcessors(int)

Set the desired number of parallel processing tasks

Declaration
void SetDesiredNumberOfProcessors(int desiredNumberOfProcessors)
Parameters
Type Name Description
int desiredNumberOfProcessors

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top