Table of Contents

Class DistributedQueueTaskStarter

Namespace
Hi.Parallels
Assembly
HiGeom.dll

A class that manages and starts a collection of actions in parallel.

public class DistributedQueueTaskStarter
Inheritance
DistributedQueueTaskStarter
Inherited Members
Extension Methods

Constructors

DistributedQueueTaskStarter(int)

Initializes a new instance of the DistributedQueueTaskStarter class.

public DistributedQueueTaskStarter(int maxWorkingTaskNum = 0)

Parameters

maxWorkingTaskNum int

The maximum number of tasks that can be executed simultaneously. If 0, uses the processor count.

Properties

IdleTaskNum

Gets the number of idle tasks (capacity minus current count).

public int IdleTaskNum { get; }

Property Value

int

Methods

Start()

Starts executing all actions in parallel.

public Task Start()

Returns

Task

A task representing the asynchronous operation.