Struct JobSchedulerDesc
- Namespace
- Misaki.HighPerformance.Jobs
- Assembly
- Misaki.HighPerformance.Jobs.dll
public struct JobSchedulerDesc
- Inherited Members
Properties
DependencyChainCapacity
Gets or sets the maximum number of dependencies in the dependency edge pool. This determines how many job dependencies can be tracked simultaneously.
public required int DependencyChainCapacity { readonly get; set; }
Property Value
State
Gets or sets the state object for the job scheduler. This can be used to store any user-defined data or context that may be needed by the jobs or worker threads. The job scheduler does not interpret or manage this state in any way; it is simply provided as a convenience for users of the job scheduler. The default value is null.
public object? State { readonly get; set; }
Property Value
ThreadCount
Gets or sets the number of worker threads to be created and managed by the job scheduler. If set to less than 1, at least one worker thread will be created.
public required int ThreadCount { readonly get; set; }
Property Value
ThreadPriority
Gets or sets the priority of the worker threads. This can be used to influence the scheduling of the threads by the operating system. The default value is Normal.
public required ThreadPriority ThreadPriority { readonly get; set; }