Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL > API/Runtime/Core/HAL/FRunnableThread
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/RunnableThread.h |
| Include | #include "HAL/RunnableThread.h" |
| Source | /Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp |
static FRunnableThread &42; Create
&40;
class FRunnable &42; InRunnable,
const TCHAR &42; ThreadName,
uint32 InStackSize,
EThreadPriority InThreadPri,
uint64 InThreadAffinityMask,
EThreadCreateFlags InCreateFlags
&41;
Remarks
Factory method to create a thread with the specified stack size and thread priority. The newly created thread or nullptr if it failed
Parameters
| Name | Description |
|---|---|
| InRunnable | The runnable object to execute |
| ThreadName | Name of the thread |
| InStackSize | The size of the stack to create. 0 means use the current thread's stack size |
| InThreadPri | Tells the thread whether it needs to adjust its priority or not. Defaults to normal priority |