Reference API Roblox

Engine API

Website

Related

Reference API Roblox

ThreadPoolConfig

Thread pooling scheme for the task scheduler.

Items 11

HistoryNameValueLegacy NamesDescription
715Auto0PartialThread

Let task scheduler make a decision internally.

715Threads11

Utilize 1 worker thread, ignore the physical CPU core count.

715Threads22

Utilize 2 worker threads, ignore the physical CPU core count.

715Threads33

Utilize 3 worker threads, ignore the physical CPU core count.

715Threads44

Utilize 4 worker threads, ignore the physical CPU core count.

715Threads88

Utilize 8 worker threads, ignore the physical CPU core count.

715Threads1616

Utilize 16 worker threads, ignore the physical CPU core count.

715PerCore1101

Utilize 1 worker thread per available physical CPU core.

715PerCore2102

Utilize 2 worker threads per available physical CPU core.

715PerCore3103

Utilize 3 worker threads per available physical CPU core.

715PerCore4104

Utilize 4 worker threads per available physical CPU core.

Description

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.

History 28

Settings