FRunnableThreadUnix

Unix implementation of the Process OS functions

Windows
MacOS
Linux

Inheritance Hierarchy

FRunnableThreadPThread

FRunnableThreadUnix

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Unix/UnixPlatformRunnableThread.h

Include

#include "Unix/UnixPlatformRunnableThread.h"

Syntax

class FRunnableThreadUnix : public FRunnableThreadPThread

Remarks

Unix implementation of the Process OS functions

Constructors

Name Description

Public function

FRunnableThreadUnix()

Destructors

Name Description

Public function

~FRunnableThreadUnix()

Functions

Name Description

Protected function Virtual

void

 

SetThreadPriority

(
    EThreadPriority NewPriority
)

Changes the thread priority of the currently running thread

Protected function Virtual

void

 

SetThreadPriority

(
    pthread_t InThread,
    EThreadPriority NewPriority
)

Public function Static

bool

 

SetupSignalHandlerStack

(
    void* StackBuffer,
    const size_t StackBufferSize,
    void** OutStackGuardPageAd...
)

Sets up an alt stack for signal (including crash) handling on this thread.

Protected function Virtual

int32

 

TranslateThreadPriority

(
    EThreadPriority Priority
)

On Unix, this translates to ranges of setpriority(). Note that not all range may be available

Constants

Name

Description

MainThreadSignalHandlerStack

Separate stack for the signal handler (so possible stack overflows don't go unnoticed), for the main thread specifically.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss