6#include "HAL/PlatformAffinity.h"
8#ifndef DEFAULT_SERVER_FAKE_FORKS
9 #define DEFAULT_SERVER_FAKE_FORKS 0
22
23
24
25
26
27
28
29
30
31
32
33
39
40
41
42
46
47
48
49
53
54
58
59
63
64
68
69
73
74
75
76
77
81
82
83
84
85
86
87
90 const TCHAR* InThreadName,
91 uint32 InStackSize = 0,
98
99
100
101
102
106
107
108
109
113
114
115
116
static void OnForkingOccured()
static void LowLevelPostForkParent()
static void LowLevelPostForkChild(uint16 ChildIndex=1)
static bool IsForkedChildProcess()
static bool IsForkRequested()
static bool SupportsMultithreadingPostFork()
static uint16 GetForkedChildProcessIndex()
static bool IsForkedMultithreadInstance()
static void LowLevelPreFork()
static void SetIsForkedChildProcess(uint16 ChildIndex=1)
static FRunnableThread * CreateForkableThread(class FRunnable *InRunnable, const TCHAR *InThreadName, uint32 InStackSize=0, EThreadPriority InThreadPri=TPri_Normal, uint64 InThreadAffinityMask=FPlatformAffinity::GetNoAffinityMask(), EThreadCreateFlags InCreateFlags=EThreadCreateFlags::None)