![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "HAL/ThreadingBase.h"#include "UObject/NameTypes.h"#include "Stats/Stats.h"#include "Misc/CommandLine.h"#include "Misc/CoreDelegates.h"#include "Misc/CoreStats.h"#include "Misc/EventPool.h"#include "Misc/LazySingleton.h"#include "Misc/Fork.h"#include "Templates/Atomic.h"#include "HAL/IConsoleManager.h"#include "HAL/PlatformStackWalk.h"#include "ProfilingDebugging/MiscTrace.h"#include "Async/Fundamental/Scheduler.h"#include "Tasks/Pipe.h"#include "AutoRTFM.h"#include <atomic>Classes | |
| class | FFakeThread |
| class | FQueuedThread |
| class | FQueuedThreadPoolBase |
| class | FForkableThread |
Macros | |
| #define | IS_RUNNING_GAMETHREAD_ON_EXTERNAL_THREAD 0 |
Variables | |
| FQueuedThreadPool * | GThreadPool = nullptr |
| FQueuedThreadPool * | GIOThreadPool = nullptr |
| FQueuedThreadPool * | GBackgroundPriorityThreadPool = nullptr |
| CORE_API UE::Tasks::FPipe | GAudioPipe { TEXT("AudioPipe") } |
| CORE_API std::atomic< bool > | GIsAudioThreadRunning { false } |
| CORE_API std::atomic< bool > | GIsAudioThreadSuspended { false } |
| CORE_API FRunnableThread * | GRenderingThread = nullptr |
| CORE_API bool | GIsRunningRHIInSeparateThread_InternalUseOnly = false |
| CORE_API bool | GIsRunningRHIInDedicatedThread_InternalUseOnly = false |
| CORE_API bool | GIsRunningRHIInTaskThread_InternalUseOnly = false |
| bool(* | IsInAsyncLoadingThread )() = &IsInAsyncLoadingThreadCoreInternal |
| #define IS_RUNNING_GAMETHREAD_ON_EXTERNAL_THREAD 0 |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("ThreadPoolDummyCounter") | , |
| STAT_ThreadPoolDummyCounter | , | ||
| STATGROUP_ThreadPoolAsyncTasks | |||
| ) |
| DEFINE_STAT | ( | STAT_EventTriggerWithId | ) |
| DEFINE_STAT | ( | STAT_EventWaitWithId | ) |
| CORE_API UE::Tasks::FPipe GAudioPipe { TEXT("AudioPipe") } |
| FQueuedThreadPool* GBackgroundPriorityThreadPool = nullptr |
| FQueuedThreadPool* GIOThreadPool = nullptr |
| CORE_API FRunnableThread* GRenderingThread = nullptr |
Thread used for rendering
| FQueuedThreadPool* GThreadPool = nullptr |
The global thread pool
| bool(* IsInAsyncLoadingThread) () | ( | ) | = &IsInAsyncLoadingThreadCoreInternal |