EM_Task/CoreUObject/Private/UObject/GarbageCollectionInternal.h

20 lines
605 B
C
Raw Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
GarbageCollectionInternal.h: Unreal realtime garbage collection internal helpers
=============================================================================*/
#pragma once
#include "CoreMinimal.h"
#include "Stats/Stats.h"
#include "UObject/GarbageCollection.h"
#include "UObject/GCScopeLock.h"
extern FGCCSyncObject* GGCSingleton;
/** Returns true if GC wants to run */
FORCEINLINE bool IsGarbageCollectionWaiting()
{
return GGCSingleton->IsGCWaiting();
}