20 lines
605 B
C
20 lines
605 B
C
// 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();
|
|
} |