From beb2aa5a46d0f0a8464f4045b1cfb790e97f08c7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 12 Dec 2003 16:29:34 -0200 Subject: atomic operations are not GC "states" --- lstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index 913b42d4..13b15f6f 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.134 2003/12/04 18:52:23 roberto Exp roberto $ +** $Id: lstate.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -167,7 +167,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { setnilvalue(registry(L)); luaZ_initbuffer(L, &g->buff); g->panic = NULL; - g->gcstate = 0; + g->gcstate = GCSfinalize; g->rootgc = NULL; g->sweepstrgc = 0; g->currentwhite = bitmask(WHITE0BIT); -- cgit v1.2.3-55-g6feb