[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Feature request: use counter for LUA_GCSTOP/LUA_GCRESTART
- From: Florian Weimer <fw@...>
- Date: Sat, 07 Nov 2009 19:43:42 +0100
I would like to pair LUA_GCSTOP/LUA_GCRESTART invocations in a nested
fashion (or at least, I want to call it from a library where I don't
know if the garbage collector has already been stopped). There
doesn't seem to be any way to restore the previous state after calling
lua_gc(LUA_GCSTOP), unfortunately.