From 686e57cf9c61070ff961407e3304071e171542f4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 13 Sep 2013 13:21:52 -0300 Subject: GC local pause configurable --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index fc8f775d..f886f3e3 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.94 2013/09/05 19:31:49 roberto Exp roberto $ +** $Id: lstate.h,v 2.95 2013/09/11 14:09:55 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -131,6 +131,7 @@ typedef struct global_State { GCObject *fixedgc; /* list of objects not to be collected */ Mbuffer buff; /* temporary buffer for string concatenation */ int gcpause; /* size of pause between successive GCs */ + int gclocalpause; /* size of pause between local collections */ int gcstepmul; /* GC `granularity' */ lua_CFunction panic; /* to be called in unprotected errors */ struct lua_State *mainthread; -- cgit v1.2.3-55-g6feb