FQueuedLowLevelThreadPool::Create

Creates the thread pool with the specified number of threads

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FQueuedThreadPool::Create()

FQueuedLowLevelThreadPool::Create()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPoolWrapper.h

Include

#include "Misc/QueuedThreadPoolWrapper.h"

Syntax

virtual bool Create
(
    uint32 InNumQueuedThreads,
    uint32 StackSize,
    EThreadPriority ThreadPriority,
    const TCHAR * Name
)

Remarks

Creates the thread pool with the specified number of threads

Returns

Whether the pool creation was successful or not

Parameters

Parameter

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