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. 更多... | |
Protected 成员函数 | |
| virtual int32 | TranslateThreadPriority (EThreadPriority Priority) |
| on Unix, this translates to ranges of setpriority(). 更多... | |
Unix implementation of the Process OS functions
|
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.
| 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. |
|
inlineprotectedvirtual |
on Unix, this translates to ranges of setpriority().
Note that not all range may be available