5#include "HAL/Platform.h"
6#include "HAL/PlatformAffinity.h"
7#include "Templates/Function.h"
8#include "Templates/SharedPointer.h"
11
12
13
14
15
16
17
18
19
20
21
22
30
31
36
37
38
39
40
41
42
43
44
46 TCHAR
const* ThreadName,
47 TUniqueFunction<
void()>&& ThreadFunction,
57 TCHAR
const* ThreadName,
58 TUniqueFunction<
void()>&& ThreadFunction,
59 TUniqueFunction<
void()>&& SingleThreadTickFunction,
72
73
74
78
79
83
84
85
86
87
91
92
93
94
95
96
102
103
109
110
111
112
static constexpr uint32 InvalidThreadId
TSharedPtr< class FThreadImpl, ESPMode::ThreadSafe > Impl
FThread(const FThread &)=delete
FThread(TCHAR const *ThreadName, TUniqueFunction< void()> &&ThreadFunction, uint32 StackSize=0, EThreadPriority ThreadPriority=TPri_Normal, FThreadAffinity ThreadAffinity=FThreadAffinity(), EForkable IsForkable=NonForkable)
FThread(FThread &&)=default
FThread(TCHAR const *ThreadName, TUniqueFunction< void()> &&ThreadFunction, TUniqueFunction< void()> &&SingleThreadTickFunction, uint32 StackSize=0, EThreadPriority ThreadPriority=TPri_Normal, FThreadAffinity ThreadAffinity=FThreadAffinity(), EForkable IsForkable=NonForkable)
uint32 GetThreadId() const
FThread & operator=(const FThread &)=delete
FThread & operator=(FThread &&Other)