lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Dec 29, 2010 at 12:38 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> 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
>
>

Ah! Excellent. I missed that, sorry.

-Duncan