From 1bf4faec64aca03e1036235e72675f0617124140 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Aug 2013 16:14:26 -0300 Subject: new GC state to sweep 'localgc' list + small changes in sweep control --- lgc.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index 978c7aca..db309360 100644 --- a/lgc.h +++ b/lgc.h @@ -1,5 +1,5 @@ /* -** $Id: lgc.h,v 2.68 2013/08/27 20:04:00 roberto Exp roberto $ +** $Id: lgc.h,v 2.69 2013/08/29 13:49:57 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -38,13 +38,15 @@ */ #define GCSpropagate 0 #define GCSatomic 1 -#define GCSsweepudata 2 -#define GCSsweep 3 -#define GCSpause 4 +#define GCSsweeplocal 2 +#define GCSsweepfin 3 +#define GCSsweepall 4 +#define GCSsweepmainth 5 +#define GCSpause 6 #define issweepphase(g) \ - (GCSsweepudata <= (g)->gcstate && (g)->gcstate <= GCSsweep) + (GCSsweeplocal <= (g)->gcstate && (g)->gcstate <= GCSsweepmainth) /* -- cgit v1.2.3-55-g6feb