diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-12-13 10:41:17 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-12-13 10:41:17 -0300 |
| commit | 0bfc572e51d9035a615ef6e9523f736c9ffa8e57 (patch) | |
| tree | 218f2bb13a873becf8fa657a296c8863f7e0e466 /lstate.h | |
| parent | 1de95e97ef65632a88e08b6184bd9d1ceba7ec2f (diff) | |
| download | lua-0bfc572e51d9035a615ef6e9523f736c9ffa8e57.tar.gz lua-0bfc572e51d9035a615ef6e9523f736c9ffa8e57.tar.bz2 lua-0bfc572e51d9035a615ef6e9523f736c9ffa8e57.zip | |
Bug: GC is not reentrant
As the GC is not reentrant, finalizers should not be able to invoke it.
Diffstat (limited to 'lstate.h')
| -rw-r--r-- | lstate.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -263,7 +263,7 @@ typedef struct global_State { | |||
| 263 | lu_byte gcstopem; /* stops emergency collections */ | 263 | lu_byte gcstopem; /* stops emergency collections */ |
| 264 | lu_byte genminormul; /* control for minor generational collections */ | 264 | lu_byte genminormul; /* control for minor generational collections */ |
| 265 | lu_byte genmajormul; /* control for major generational collections */ | 265 | lu_byte genmajormul; /* control for major generational collections */ |
| 266 | lu_byte gcrunning; /* true if GC is running */ | 266 | lu_byte gcstp; /* control whether GC is running */ |
| 267 | lu_byte gcemergency; /* true if this is an emergency collection */ | 267 | lu_byte gcemergency; /* true if this is an emergency collection */ |
| 268 | lu_byte gcpause; /* size of pause between successive GCs */ | 268 | lu_byte gcpause; /* size of pause between successive GCs */ |
| 269 | lu_byte gcstepmul; /* GC "speed" */ | 269 | lu_byte gcstepmul; /* GC "speed" */ |
