FForkProcessHelper::IsForkedMultithreadInstance

Are we a forked process that supports multithreading This only becomes true after its safe to be multithread.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Fork.h

Include

#include "Misc/Fork.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp

Syntax

static bool IsForkedMultithreadInstance()

Remarks

Are we a forked process that supports multithreading This only becomes true after its safe to be multithread. Since a process can be forked mid-tick, there is a period of time where IsForkedChildProcess is true but IsForkedMultithreadInstance will be false

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss