Table of Contents

Interface IJobParallelFor

Namespace
Misaki.HighPerformance.Jobs
Assembly
Misaki.HighPerformance.Jobs.dll

Represents a job that performs the same operation for a set of items, executed in parallel.

public interface IJobParallelFor
Extension Methods

Methods

Execute(int, ref readonly JobExecutionContext)

Executes the job for a single item at the given index.

void Execute(int loopIndex, ref readonly JobExecutionContext ctx)

Parameters

loopIndex int

The index of the item to process.

ctx JobExecutionContext

The context of the job execution, providing access to thread-specific information and job scheduling capabilities.