Update Package structure
This commit is contained in:
20
Misaki.HighPerformance.Jobs/JobExecutionContext.cs
Normal file
20
Misaki.HighPerformance.Jobs/JobExecutionContext.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user