[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: GC "step" resumes automatic collection? (was Re: bug of GC "step")
- From: Makoto Hamanaka <naraxx800@...>
- Date: Sat, 05 Jul 2008 10:57:45 +0900
> Actually your original fix is better than this one. (This one returns
> without "calling" the macro lua_unlock.)
And it looks like ok so far.
Then, can I make another maybe related question?
It looks like collectgarbage("step",n) resumes automatic collection,
when GC is stopped beforehand. So when I want to do GC only by
collectgarbage("step",n), I need to do like this.
What I want to know is whether this is intended behavior or not.
For a sample, that "test.lua" attached on my second mail on this tree behaves
very differently, if the collectgarbage("stop") on line 35 is commented
Makoto Hamanaka <email@example.com>