diff options
Diffstat (limited to 'src/zenstore/include')
| -rw-r--r-- | src/zenstore/include/zenstore/gc.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/zenstore/include/zenstore/gc.h b/src/zenstore/include/zenstore/gc.h index e2e99d5a4..1b9929216 100644 --- a/src/zenstore/include/zenstore/gc.h +++ b/src/zenstore/include/zenstore/gc.h @@ -52,7 +52,7 @@ public: static TimePoint TimePointFromTick(const Tick TickCount) { return TimePoint{Duration{TickCount}}; } }; -//////// Begin New GC WIP +//////// Begin GC V2 struct GcSettings { @@ -62,6 +62,7 @@ struct GcSettings bool IsDeleteMode = false; bool SkipCidDelete = false; bool Verbose = false; + bool SingleThread = false; }; struct GcReferencerStats @@ -237,7 +238,7 @@ public: virtual GcReferencePruner* CreateReferencePruner(GcCtx& Ctx, GcReferenceStoreStats& Stats) = 0; }; -//////// End New GC WIP +//////// End GC V2 /** Garbage Collection context object */ @@ -332,7 +333,7 @@ public: GcManager(); ~GcManager(); - //////// Begin New GC WIP + //////// Begin GC V2 void AddGcReferencer(GcReferencer& Referencer); void RemoveGcReferencer(GcReferencer& Referencer); @@ -342,7 +343,7 @@ public: GcResult CollectGarbage(const GcSettings& Settings); - //////// End New GC WIP + //////// End GC V2 void AddGcContributor(GcContributor* Contributor); void RemoveGcContributor(GcContributor* Contributor); |