[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: restarting the GC
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 29 Dec 2010 10:38:57 -0200
> I think removing the implicit restart is a good idea. I also think it
> would be a good idea to be able to easily know whether the GC is
> currently running, so that a function could temporarily stop the GC
> before restarting it later, or if it's stopped leave it stopped.
Lua 5.2 alpha already has this option:
print(collectgarbage'isrunning') --> true
-- Roberto