lua-users home
lua-l archive

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


> 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