diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-11 10:18:12 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-11 10:18:12 -0200 |
commit | ba3586cc90d1ab8d499437dd7c504798371b0e4f (patch) | |
tree | 416f99ec601d48a19a7233f6363a7329989a6fd6 /lgc.h | |
parent | 68df7c6279421a0a5710afc31e5cd3122e0d3391 (diff) | |
download | lua-ba3586cc90d1ab8d499437dd7c504798371b0e4f.tar.gz lua-ba3586cc90d1ab8d499437dd7c504798371b0e4f.tar.bz2 lua-ba3586cc90d1ab8d499437dd7c504798371b0e4f.zip |
keep a single list of objects to be finalized (with local and non-local
objects), to ensure finalization order
Diffstat (limited to '')
-rw-r--r-- | lgc.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.h,v 2.75 2013/09/11 14:47:08 roberto Exp roberto $ | 2 | ** $Id: lgc.h,v 2.76 2013/09/11 20:15:31 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -39,13 +39,12 @@ | |||
39 | #define GCSpropagate 0 | 39 | #define GCSpropagate 0 |
40 | #define GCSatomic 1 | 40 | #define GCSatomic 1 |
41 | #define GCSswplocalgc 2 | 41 | #define GCSswplocalgc 2 |
42 | #define GCSswpallgc 4 | 42 | #define GCSswpallgc 3 |
43 | #define GCSswpthreads 3 | 43 | #define GCSswpthreads 4 |
44 | #define GCSswplocalfin 5 | 44 | #define GCSswpfinobj 5 |
45 | #define GCSswpfinobj 6 | 45 | #define GCSswptobefnz 6 |
46 | #define GCSswptobefnz 7 | 46 | #define GCSswpend 7 |
47 | #define GCSswpend 8 | 47 | #define GCSpause 8 |
48 | #define GCSpause 9 | ||
49 | 48 | ||
50 | 49 | ||
51 | #define issweepphase(g) \ | 50 | #define issweepphase(g) \ |