/Engine/Source/Runtime/Core/Public/Misc/Fork.h
Performs low-level cross-platform actions that should happen immediately BEFORE forking in a well-specified order. Runs after any higher level code like calling into game-level constructs or anything that may allocate memory. E.g. notifies GMalloc to optimize for memory sharing across parent/child process Note: This will be called multiple times on the parent before each fork.
static void LowLevelPreFork()