Give DEFAULT_SERVER_FAKE_FORKS a default value for all games/builds.

#jira UE-143362
#rb none
#preflight 621800897520d8f6ab9e2faf

[CL 19127400 by Robert Millar in ue5-main branch]
This commit is contained in:
Robert Millar
2022-02-24 17:22:41 -05:00
parent 8db233a24e
commit 3297594688
2 changed files with 9 additions and 1 deletions

View File

@@ -15,6 +15,7 @@
#include "HAL/Allocators/PooledVirtualMemoryAllocator.h"
#include "HAL/PlatformMath.h"
#include "HAL/LowLevelMemTracker.h"
#include "Misc/Fork.h"
#include "Templates/Atomic.h"
#define BINNED2_MAX_CACHED_OS_FREES (64)

View File

@@ -2,9 +2,16 @@
#pragma once
#include "CoreMinimal.h"
#include "CoreTypes.h"
#include "HAL/PlatformAffinity.h"
#ifndef DEFAULT_SERVER_FAKE_FORKS
#define DEFAULT_SERVER_FAKE_FORKS 0
#endif
class CORE_API FRunnable;
class CORE_API FRunnableThread;
/**
* Helper functions for processes that fork in order to share memory pages.
*