Roblox UtilitiesDevlHub Roblox Documentation

Enum

ThreadPoolConfig

Thread pooling scheme for the task scheduler.

Controls the thread pooling scheme used by TaskScheduler. The selected value determines how many worker threads the task scheduler allocates for background work. TaskScheduler.ThreadPoolConfig defaults to Auto.

The PerCore variants scale the thread count with the number of physical CPU cores reported by the operating system. The Threads variants use an absolute count regardless of hardware. Auto lets the scheduler choose internally.

Items 11#

NameValueSummary
Auto0Let task scheduler make a decision internally.
Threads11Utilize 1 worker thread, ignore the physical CPU core count.
Threads22Utilize 2 worker threads, ignore the physical CPU core count.
Threads33Utilize 3 worker threads, ignore the physical CPU core count.
Threads44Utilize 4 worker threads, ignore the physical CPU core count.
Threads88Utilize 8 worker threads, ignore the physical CPU core count.
Threads1616Utilize 16 worker threads, ignore the physical CPU core count.
PerCore1101Utilize 1 worker thread per available physical CPU core.
PerCore2102Utilize 2 worker threads per available physical CPU core.
PerCore3103Utilize 3 worker threads per available physical CPU core.
PerCore4104Utilize 4 worker threads per available physical CPU core.