From 2ccc19092cdf84ad51fbf5fe11c5c3f54a89e759 Mon Sep 17 00:00:00 2001 From: Misaki Date: Sun, 12 Apr 2026 22:21:33 +0900 Subject: [PATCH] change to ctx.ThreadIndex --- Misaki.HighPerformance.Test/Jobs/JobDispatchingJob.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misaki.HighPerformance.Test/Jobs/JobDispatchingJob.cs b/Misaki.HighPerformance.Test/Jobs/JobDispatchingJob.cs index d6d1a4d..daa49e5 100644 --- a/Misaki.HighPerformance.Test/Jobs/JobDispatchingJob.cs +++ b/Misaki.HighPerformance.Test/Jobs/JobDispatchingJob.cs @@ -28,7 +28,7 @@ internal struct JobDispatchingJob : IJobParallelFor data = data[loopIndex] }; - var handle = ctx.JobScheduler.ScheduleParallelFor(in innerJob, data[loopIndex].Length, 64); + var handle = ctx.JobScheduler.ScheduleParallelFor(in innerJob, data[loopIndex].Length, 64, ctx.ThreadIndex); handles.AddNoResize(handle); } }