Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FQueuedThreadPoolTaskGraphWrappe-
- FQueuedThreadPool::Create()
- FQueuedThreadPoolTaskGraphWrapper::Create()
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPoolWrapper.h |
| Include | #include "Misc/QueuedThreadPoolWrapper.h" |
virtual bool Create
(
uint32 InNumQueuedThreads,
uint32 StackSize,
EThreadPriority ThreadPriority,
const TCHAR * Name
)
Remarks
Creates the thread pool with the specified number of threads Whether the pool creation was successful or not
Parameters
| Name | Description |
|---|---|
| InNumQueuedThreads | Specifies the number of threads to use in the pool |
| StackSize | The size of stack the threads in the pool need (32K default) |
| ThreadPriority | priority of new pool thread |
| Name | optional name for the pool to be used for instrumentation |