# Enum.ThreadPoolConfig

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/ThreadPoolConfig/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/ThreadPoolConfig

Thread pooling scheme for the task scheduler.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Auto` | 0 | Legacy name: `PartialThread`. Let task scheduler make a decision internally. |
| `Threads1` | 1 | Utilize 1 worker thread, ignore the physical CPU core count. |
| `Threads2` | 2 | Utilize 2 worker threads, ignore the physical CPU core count. |
| `Threads3` | 3 | Utilize 3 worker threads, ignore the physical CPU core count. |
| `Threads4` | 4 | Utilize 4 worker threads, ignore the physical CPU core count. |
| `Threads8` | 8 | Utilize 8 worker threads, ignore the physical CPU core count. |
| `Threads16` | 16 | Utilize 16 worker threads, ignore the physical CPU core count. |
| `PerCore1` | 101 | Utilize 1 worker thread per available physical CPU core. |
| `PerCore2` | 102 | Utilize 2 worker threads per available physical CPU core. |
| `PerCore3` | 103 | Utilize 3 worker threads per available physical CPU core. |
| `PerCore4` | 104 | Utilize 4 worker threads per available physical CPU core. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [TaskScheduler](https://rapi.sleaze.dev/classes/TaskScheduler.md): property `ThreadPoolConfig`
