Files
Misaki.HighPerformance/Misaki.HighPerformance.Jobs/JobExecutionContext.cs
2026-03-08 15:57:05 +09:00

20 lines
367 B
C#

namespace Misaki.HighPerformance.Jobs;
public readonly ref struct JobExecutionContext
{
public int ThreadIndex
{
get;
}
public IJobScheduler JobScheduler
{
get;
}
public JobExecutionContext(int threadIndex, IJobScheduler jobScheduler)
{
ThreadIndex = threadIndex;
JobScheduler = jobScheduler;
}
}