![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UnixPlatformRunnableThread.h>
Inheritance diagram for FRunnableThreadUnix:Public Member Functions | |
| FRunnableThreadUnix () | |
| ~FRunnableThreadUnix () | |
Static Public Member Functions | |
| static void * | AllocCrashHandlerStack () |
| static void | FreeCrashHandlerStack (void *StackBuffer) |
| static uint64 | GetCrashHandlerStackSize () |
| static bool | SetupSignalHandlerStack (void *StackBuffer, const size_t StackBufferSize, void **OutStackGuardPageAddress) |
Static Public Attributes | |
| static void * | MainThreadSignalHandlerStack = nullptr |
Protected Member Functions | |
| int32 | TranslateThreadPriority (EThreadPriority Priority) override |
| void | SetThreadPriority (EThreadPriority NewPriority) override |
| void | SetThreadPriority (pthread_t InThread, EThreadPriority NewPriority) override |
Unix implementation of the Process OS functions
|
inline |
|
inline |
|
static |
|
static |
|
overrideprotected |
|
overrideprotected |
|
static |
Sets up an alt stack for signal (including crash) handling on this thread.
This includes guard page at the end of the stack to make running out of stack more obvious. Should be run in the context of the thread.
| StackBuffer | pointer to the beginning of the stack buffer (note: on x86_64 will be the bottom of the stack, not its beginning) |
| StackSize | size of the stack buffer |
| OutStackGuardPageAddress | pointer to the variable that will receive the address of the guard page. Can be null. Will not be set if guard page wasn't successfully set. |
|
overrideprotected |
on Unix, this translates to ranges of setpriority(). Note that not all range may be available
|
static |
Separate stack for the signal handler (so possible stack overflows don't go unnoticed), for the main thread specifically.