5#include "Containers/Queue.h"
15 namespace AsyncHelpers
17 template<
typename ResultType,
typename... Args>
26 template<
typename... Args>
36 template<
typename ResultType,
typename... Args>
49 return Promise->GetFuture();
52 template<
typename ResultType>
65 return Promise->GetFuture();
68 template<
typename ResultType>
81 return Promise->GetFuture();
88 namespace AsyncHelpers
96 template<
typename IntegerType>
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
void AsyncTask(ENamedThreads::Type Thread, TUniqueFunction< void()> Function)
Definition Async.cpp:54
SharedPointerInternals::TRawPtrProxy< ObjectType > MakeShareable(ObjectType *InObject)
Definition SharedPointer.h:1947
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
CORE_API bool IsInGameThread()
Definition ThreadingBase.cpp:185
void ExecuteOnGameThread(const TCHAR *DebugName, FunctorType &&Functor)
Definition Ticker.h:168
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
FThreadSafeCounter64 FThreadSafeInt64
Definition AsyncHelpers.h:111
FThreadSafeCounter FThreadSafeInt32
Definition AsyncHelpers.h:112
Definition ThreadSafeCounter64.h:14
Definition ThreadSafeCounter.h:14
Definition AndroidPlatformMisc.h:14
Definition SharedPointer.h:153
void LockFreePeak(volatile IntegerType *PeakValue, IntegerType NewSample)
Definition AsyncHelpers.h:97
Definition BuildPatchFileConstructor.h:28
@ GameThread
Definition TaskGraphInterfaces.h:61