engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 静态 Public 属性 | Protected 成员函数 | 所有成员列表
FRunnableThreadUnix类 参考

Unix implementation of the Process OS functions 更多...

#include <UnixPlatformRunnableThread.h>

继承自 FRunnableThreadPThread .

静态 Public 成员函数

static bool SetupSignalHandlerStack (void *StackBuffer, const size_t StackBufferSize, void **OutStackGuardPageAddress)
 Sets up an alt stack for signal (including crash) handling on this thread. 更多...
 

静态 Public 属性

static char MainThreadSignalHandlerStack [EConstants::CrashHandlerStackSize]
 Separate stack for the signal handler (so possible stack overflows don't go unnoticed), for the main thread specifically.
 

Protected 成员函数

virtual int32 TranslateThreadPriority (EThreadPriority Priority)
 on Unix, this translates to ranges of setpriority(). 更多...
 

详细描述

Unix implementation of the Process OS functions

成员函数说明

◆ SetupSignalHandlerStack()

static bool FRunnableThreadUnix::SetupSignalHandlerStack ( void *  StackBuffer,
const size_t  StackBufferSize,
void **  OutStackGuardPageAddress 
)
inlinestatic

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.

参数
StackBufferpointer to the beginning of the stack buffer (note: on x86_64 will be the bottom of the stack, not its beginning)
StackSizesize of the stack buffer
OutStackGuardPageAddresspointer 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.
返回
true if setting the alt stack succeeded. Inability to set guard page will not affect success of the operation.

◆ TranslateThreadPriority()

virtual int32 FRunnableThreadUnix::TranslateThreadPriority ( EThreadPriority  Priority)
inlineprotectedvirtual

on Unix, this translates to ranges of setpriority().

Note that not all range may be available


该类的文档由以下文件生成: