From 3aa95981779aa8144da11f328a25bf79bd141c41 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 25 Mar 2010 10:06:36 -0300 Subject: 'mainthread' is not inserted in the 'allgc' list anymore, but swept separately. --- lgc.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index c2948966..38564849 100644 --- a/lgc.h +++ b/lgc.h @@ -1,5 +1,5 @@ /* -** $Id: lgc.h,v 2.28 2010/03/24 13:07:01 roberto Exp roberto $ +** $Id: lgc.h,v 2.29 2010/03/24 15:51:10 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -48,8 +48,7 @@ ** bit 3 - for userdata: has been finalized ** bit 4 - for userdata: it's in 'udgc' list or in 'tobefnz' ** bit 5 - object is fixed (should not be collected) -** bit 6 - object is "super" fixed (only the main thread) -** bit 7 - object is old (only in generational mode) +** bit 6 - object is old (only in generational mode) */ #define WHITE0BIT 0 #define WHITE1BIT 1 @@ -57,8 +56,7 @@ #define FINALIZEDBIT 3 #define SEPARATED 4 #define FIXEDBIT 5 -#define SFIXEDBIT 6 -#define OLDBIT 7 +#define OLDBIT 6 #define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) -- cgit v1.2.3-55-g6feb