struct SchedulerCreateInformation

Information used for creating a new Scheduler.

Public

Constructors

SchedulerCreateInformation

SchedulerCreateInformation() = default

SchedulerCreateInformation

SchedulerCreateInformation(const SchedulerInformation &other)

Fields

InternalWorkerThreadCount

u32 InternalWorkerThreadCount

Number of worker threads to start internally by the scheduler.

Set to 0 if you only want to bind external threads via BindToCurrentThread().

ThreadInitializeCallback

Function<void (u32)> ThreadInitializeCallback

Callback to execute when a worker thread is started (both internal and external).

AffinityPolicy

SPtr<ThreadAffinityPolicy> AffinityPolicy

Determines on which cores the internally created threads are allowed to execute on.

FiberStackSize

u64 FiberStackSize

Stack size for a single fiber, in bytes.