aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-09-13 13:21:52 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-09-13 13:21:52 -0300
commit686e57cf9c61070ff961407e3304071e171542f4 (patch)
tree902f64eb6a46bcd57d4d1140efd5bdcf7f1e501f /lstate.h
parent06156e7575dee21026595a30dcf76f400c447a33 (diff)
downloadlua-686e57cf9c61070ff961407e3304071e171542f4.tar.gz
lua-686e57cf9c61070ff961407e3304071e171542f4.tar.bz2
lua-686e57cf9c61070ff961407e3304071e171542f4.zip
GC local pause configurable
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index fc8f775d..f886f3e3 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.94 2013/09/05 19:31:49 roberto Exp roberto $ 2** $Id: lstate.h,v 2.95 2013/09/11 14:09:55 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -131,6 +131,7 @@ typedef struct global_State {
131 GCObject *fixedgc; /* list of objects not to be collected */ 131 GCObject *fixedgc; /* list of objects not to be collected */
132 Mbuffer buff; /* temporary buffer for string concatenation */ 132 Mbuffer buff; /* temporary buffer for string concatenation */
133 int gcpause; /* size of pause between successive GCs */ 133 int gcpause; /* size of pause between successive GCs */
134 int gclocalpause; /* size of pause between local collections */
134 int gcstepmul; /* GC `granularity' */ 135 int gcstepmul; /* GC `granularity' */
135 lua_CFunction panic; /* to be called in unprotected errors */ 136 lua_CFunction panic; /* to be called in unprotected errors */
136 struct lua_State *mainthread; 137 struct lua_State *mainthread;